[adegenet-forum] redefining populations and excluding populations
thibautjombart at gmail.com
Fri Aug 5 13:47:38 CEST 2016
most handling is documented:
section 5.1. See also the manpage for most accessors:
For instance, to exclude the Salers from microbov:
x <- microbov[i=!as.character(pop(microbov)) %in% c("Salers")]
Dr Thibaut Jombart
Lecturer, Department of Infectious Disease Epidemiology
Imperial College London
Twitter: @TeebzR <https://twitter.com/TeebzR>
On 5 August 2016 at 09:15, Mark Coulson <Mark.Coulson.ic at uhi.ac.uk> wrote:
> I have a genind file with an @pop factor however based on various cluster
> analysis I have redefined 4 groups (instead of the initial 12). I want to
> assign this grouping factor to my genind object and then eliminate one of
> the groups for subsequent analysis (presumably using the poppr package).
> How do I go about this?
> Inverness College UHI, a partner in the University of the Highlands and
> Islands www.inverness.uhi.ac.uk Board of Management of Inverness College
> (known as Inverness College UHI), Scottish Charity No SC021197.
> adegenet-forum mailing list
> adegenet-forum at lists.r-forge.r-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the adegenet-forum