<div dir="ltr">Hi there, <div><br></div><div>most handling is documented:</div><div>adegenetTutorial("basics")<br></div><div><br></div><div>section 5.1. See also the manpage for most accessors: </div><div>?nLoc</div><div><br></div><div>For instance, to exclude the Salers from microbov:</div><div>x <- microbov[i=!as.character(pop(microbov)) %in% c("Salers")]<br></div><div><br></div><div>Cheers</div><div>Thibaut</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><br>--<br>Dr Thibaut Jombart<br>Lecturer, Department of Infectious Disease Epidemiology<br></div></div>Imperial College London<br><a href="https://sites.google.com/site/thibautjombart/" target="_blank">https://sites.google.com/site/thibautjombart/</a><br></div><div><a href="https://github.com/thibautjombart" target="_blank">https://github.com/thibautjombart<br></a></div>Twitter: <a href="https://twitter.com/TeebzR" target="_blank">@TeebzR</a><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On 5 August 2016 at 09:15, Mark Coulson <span dir="ltr"><<a href="mailto:Mark.Coulson.ic@uhi.ac.uk" target="_blank">Mark.Coulson.ic@uhi.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-GB" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">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?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
Inverness College UHI, a partner in the University of the Highlands and Islands <a href="http://www.inverness.uhi.ac.uk" target="_blank">www.inverness.uhi.ac.uk</a> Board of Management of Inverness College (known as Inverness College UHI), Scottish Charity No SC021197.
</div>
<br>______________________________<wbr>_________________<br>
adegenet-forum mailing list<br>
<a href="mailto:adegenet-forum@lists.r-forge.r-project.org">adegenet-forum@lists.r-forge.<wbr>r-project.org</a><br>
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/adegenet-forum" rel="noreferrer" target="_blank">https://lists.r-forge.r-<wbr>project.org/cgi-bin/mailman/<wbr>listinfo/adegenet-forum</a><br></blockquote></div><br></div>