Usage
Lin.reg.distance(dist.m, emp.dist, pairs, tab.pop.pop, offhalf.list, offfull.list, relate.off.non.Mxy.mean, file.output, directory.name, out.name, inputdata, object, value, iteration)
Arguments
dist.m
Object provided by geo.dist
.
emp.dist
Empirical relatedness of population.
pairs
Number of bootstrap replicates to calculate confidence interval for linear regression.
tab.pop.pop
Population information to model linear fit.
offhalf.list
Object
- matrix of mean pairwise relatedness of each randomized comparison of half siblings.
offfull.list
Object
- matrix of mean pairwise relatedness of each randomized comparison of full siblings.
relate.off.non.Mxy.mean
Object
- matrix of mean pairwise relatedness of each randomized comparison of non relatives.
file.output
logical - Should a cluster dendogram, histograms and .txt files be sent as standard output in your working directory. In some cases (inflating NA values) it may be necessary that this value has to be set as FALSE due to problems in calculating clusters on pairwise NA values.
directory.name
Name of the directory results are sent to.
out.name
Filename of the output.
inputdata
R object or external file to be read internally with standard Demerelate inputformat. Dataframe will be split by population information and calculations will run separately. If no reference population information is specified (reference.pop = "NA") all information on loci are used as reference by omitting population information. object
Information whether inputdata are an object or should be read in as file.
value
String defining method to calculate allele sharing or similarity estimates. Can be
set as "Bxy", "Sxy", "Mxy", "Li", "lxy", "rxy", "loiselle", "wang.fin", "wang",
"ritland", "morans.fin" or "morans" allele.sharing. iteration
Number of bootstrap iterations in $F_{is}$ calculations.