Rdocumentation
powered by
Learn R Programming
pcadapt (version 3.0.4)
get.pool.matrix: Convert genotypes to pooled samples
Description
get.pool.matrix
creates a pooled-sequenced data out of a genotype matrix, given the labels of each individuals.
Usage
get.pool.matrix(data, pop, ploidy = 2)
Arguments
data
a matrix with n rows and p columns where n is the number of individuals and p is the number of markers.
pop
a list of integers or strings specifying which subpopulation the individuals belong to.
ploidy
an integer specifying the ploidy of the individuals.