sample.geno: Sample genotype matrix from pooled samples
Description
sample.geno
samples a genotype matrix from pooled samples.
Usage
sample.geno(pool.matrix = NULL, ploidy = 2, cover.matrix = NULL, pop.sizes = NULL, method = "per.pop")
Arguments
pool.matrix
a matrix with n rows and p columns where n is the number of pools and is the number of markers.
ploidy
an integer specifying the ploidy.
cover.matrix
a matrix with n rows and p columns where n is the number of pools and is the number of markers.
pop.sizes
a list specifying the number of individuals for each pool.
method
a character string indicating the method used for sampling.
Examples
Run this code## see also ?pcadapt for examples
Run the code above in your browser using DataLab