Description Usage Arguments Value Author(s) References
Estimate parameters of a hybrid zone model by MCMC simulation. The function does not currently accept more than one genotype matrix.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | HZ(coordinates,
geno.dip.codom=NULL,
geno.dip.dom=NULL,
geno.hap=NULL,
dist.IC=NULL,
allele.freq=NULL,
ncluster=NULL,
cluster.indiv=NULL,
path.mcmc.noadm=NULL,
a.init=NULL,
b.init=NULL,
c.init=1,
a.max=10,
b.max=NULL,
c.max=1,
estimate.a=TRUE,
estimate.b=TRUE,
estimate.c=FALSE,
common.param=TRUE,
nit,
thinning,
path.mcmc.adm=NULL)
|
coordinates |
Spatial coordinates of individuals. A matrix with 2 |
geno.dip.codom |
Genotypes for diploid data with codominant markers. A matrix with one line per individual and two columns per locus. |
geno.dip.dom |
Genotypes for diploid data with dominant markers. A matrix with one line per individual and one column per locus. Presence/absence of a band should be coded as 0/1 (0 for absence / 1 for presence). Dominant and codominant markers can be analyzed jointly by passing variables to arguments geno.dip.codom and geno.dip.dom. Haploid data and diploid dominant data can not be analyzed jointly in the current version. |
geno.hap |
Genotypes of haploid data. A matrix with one line per individual and one column per locus. Dominant diploid data and haploid data can be analyzed jointly (e.g. to analyse microsatelite data or SNP data together with mtDNA. Haploid data and diploid dominant data can not be analyzed jointly in the current version. |
dist.IC |
A matrix with |
allele.freq |
An array with |
ncluster |
Number of clusters. If missing, the user has to provide instead the path to a directory storing results from a no-admixture MCMC run |
cluster.indiv |
Cluster membership of individuals. A numeric vector with integer values (maximum values being the total number of clusters) |
path.mcmc.noadm |
Path to output files directory of the previous Geneland no-admixture run. It seems that the path should be given in the Unix style even under Windows (use \/ instead of \). This path *has to* end with a slash (\/) (e.g. path.mcmc="/home/me/Geneland-noadmixture/") |
a.init |
A numerical value to use as fixed or initial value for the |
b.init |
A numerical value to use as fixed or initial value for the |
c.init |
A numerical value to use as fixed or initial value for the |
a.max |
Maximum value allowed along MCMC simulation for parameter
|
b.max |
Maximum value allowed along MCMC simulation for parameter
|
c.max |
Maximum value allowed along MCMC simulation for parameter
|
estimate.a |
Logical. If TRUE, parameter |
estimate.b |
Logical. If TRUE, parameter |
estimate.c |
Logical. If TRUE, parameter |
common.param |
If TRUE, parameters |
nit |
Number of MCMC iteration. |
thinning |
Number of MCMC iterations between two writing steps (if |
path.mcmc.adm |
Path to output files directory for the admixture model. It seems that the path should be given in the Unix style even under Windows (use \/ instead of \). This path *has to* end with a slash (\/) (e.g. path.mcmc="/home/me/Geneland-admixture/") |
No object is returned. All outputs are stored in ascii file
located in the path.mcmc
directory
G. Guillot
B. Guedj and G. Guillot, A Bayesian model for infering hybrid zones.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.