Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

accessor nAll doesn't work on genindSummary #354

Open
romunov opened this issue Jun 25, 2023 · 0 comments
Open

accessor nAll doesn't work on genindSummary #354

romunov opened this issue Jun 25, 2023 · 0 comments

Comments

@romunov
Copy link
Collaborator

romunov commented Jun 25, 2023

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 functionnAllfor signature"genindSummary"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant