Skip to content
Prev 145 / 490 Next

Subsetting a genind object.

Is there a convenient way to subset a genind object using a vector of the
subset of individuals at one pass ( so that it correctly subsets  genotype
table, individuals, populations, XY coordinates etc?)

effective  working on the genind object as

data.frame[SubsetVector,] would on a data frame?

I realist that I can do this for each component of the object in turn but
thought there was a faster method that I cannot now find.

thanks.