[adegenet-forum] Subsetting a genpop object for loc.nall

Vikram Chhatre crypticlineage at gmail.com
Sat Apr 18 20:06:11 CEST 2015


I was hoping to subset the genpop object conditional upon number of
alleles, but it doesn't seem to work.  Are there any workarounds?

>mygenpop_sub <- subset(mygenpop, mygenpop at loc.nall == 2)
Error in tab[i, j, ..., drop = FALSE] :
  (subscript) logical subscript too long

Thanks
V
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/adegenet-forum/attachments/20150418/cce5c38e/attachment.html>


More information about the adegenet-forum mailing list