View source: R/loci_to_genind.R
loci_to_genind | R Documentation |
This function is exactly the same as loci2genind
from pegas package
loci_to_genind(x, ploidy = 2, na.alleles = c("NA"))
x |
An object of class |
ploidy |
An integer indicating the ploidy level (by default, 'ploidy = 2') |
na.alleles |
A character vector indicating the coding of the alleles to be treated as missing data (by default, 'na.alleles = c("NA")') |
An object of class genind
P. Savary
data("data_ex_loci") genind <- loci_to_genind(data_ex_loci, ploidy = 2, na.alleles = "NA")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.