adegenet icon indicating copy to clipboard operation
adegenet copied to clipboard

accessor nAll doesn't work on genindSummary

Open romunov opened this issue 1 year ago • 0 comments

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"’

romunov avatar Jun 25 '23 08:06 romunov