getPopulation: Return genotypes for specified populations

Description Usage Arguments Value Author(s) Examples

Description

Return genotype data for specified populations from an object of class genalex, in an object of class genalex.

Usage

1
2
## S3 method for class 'genalex'
getPopulation(x, pop, ...)

Arguments

x

An annotated data frame of class genalex

pop

The names of one or more populations for which x contains genotypes

...

Additional arguments, currently ignored

Value

An object of class genalex containing genotype data from x for populations specified in code. Attributes are re-calculated so that the return value is a valid object of class genalex, and the "data.file.name" attribute is updated to reflect the action of this function.

Author(s)

Douglas G. Scofield

Examples

1
2
3

douglasgscofield/readGenalex documentation built on May 15, 2019, 10:43 a.m.