subsampind | R Documentation |
Subsample a given number of individuals from a FSTAT data frame
subsampind(dat,sampsize = 10)
dat |
A data frame with population of origin as first column, and genotypes in following columns. |
sampsize |
the number of individuals to sample in each population. |
A data frame with population of origin as first column, and genotypes in following columns. Each population is made of at most sampsize individuals
Jerome Goudet jerome.goudet@unil.ch
data(gtrunchier) subsampind(gtrunchier[,-1],6) # check the warning
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.