kinship_Loiselle
and kinship_Ritland
compute average genetic
distances or kinship coefficients.
kinship_Loiselle(data1, haploid = FALSE, vecpop = NULL)
kinship_Ritland(data1, haploid = FALSE, vecpop = NULL)
a Rclone
table with one allele per column.
logical, option, haploid
indicates the ploidy level of data1
.
vector, option, vecpop
indicates the population name of each unit
of data1
, if data1
contains several populations.
If data1
contains only one population, leave vecpop = NULL
.
a dist
object (or a list of dist
objects for multi-population
data1
) with genetic distances between pairs of units.
Loiselle et al., 1995, Spatial genetic structure of a tropical understory shrub, Psychotria officinalis (Rubiaceae).
Ritland, 1996, A marker-based method for inferences about quantitative inheritance in natural populations.
Arnaud-Haond et al., 2007, Standardizing methods to address clonality in population studies.
# NOT RUN {
data(posidonia)
#kinship_Loiselle(posidonia)
#kinship_Ritland(posidonia)
# }
Run the code above in your browser using DataLab