adegenet
adegenet copied to clipboard
accessor nAll doesn't work on genindSummary
Because genindSummary
doesn't appear to be a registered class (class designation slapped on here), using nAll
on such an object doesn't work. It did in the past, though. 🤔 Not sure what changed, perhaps the way S4 methods are called with a different version of R?
library(adegenet)
data(microbov)
xy <- summary(microbov)
nAll(xy)
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘nAll’ for signature ‘"genindSummary"’