Learn R Programming

RClone (version 1.0.3)

kinship: Loiselle and Ritland kinship coefficients

Description

kinship_Loiselle and kinship_Ritland compute average genetic distances or kinship coefficients.

Usage

kinship_Loiselle(data1, haploid = FALSE, vecpop = NULL)
kinship_Ritland(data1, haploid = FALSE, vecpop = NULL)

Arguments

data1

a Rclone table with one allele per column.

haploid

logical, option, haploid indicates the ploidy level of data1.

vecpop

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.

Value

a dist object (or a list of dist objects for multi-population data1) with genetic distances between pairs of units.

References

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.

See Also

autocorrelation

Examples

Run this code
# NOT RUN {
data(posidonia)

#kinship_Loiselle(posidonia)
#kinship_Ritland(posidonia)
# }

Run the code above in your browser using DataLab