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

unable to find an inherited method for function ‘NSBS’ for signature ‘"standardGeneric"’ #1

Closed
pangxueyu233 opened this issue Aug 5, 2019 · 3 comments

Comments

@pangxueyu233
Copy link

Hello,
It's really an awsome wroking. But I got a error by using your workflow in 01_Filter_Cells_v2, as following:

fragments <- fragments[mcols(fragments)[,by] %in% rownames(tssSingles)[tssSingles$cellCall==1]]
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘NSBS’ for signature ‘"standardGeneric"’

I don't know the ### mcols(fragments)[,by] meaning, and I got error in this formula.
Hope you could help me out.

Thanks

@pangxueyu233
Copy link
Author

And I tried to change the code like this:

fragments <- fragments[mcols(fragments)[,"RG"] %in% rownames(tssSingles)[tssSingles$cellCall==1]]

And it works,
I know this step wants to filter cells but I'm not sure whether it's right by my fixing.

@pangxueyu233
Copy link
Author

One more suggestion, could you upgrade the codes? Because some parts was used Seurat V2.3, it's not friendly to further people using seurat V3.
Thanks

@jeffmgranja
Copy link
Collaborator

looks like a variable got deleted

by = "RG"

i normally write it as mcols(fragments)$RG but i corrected it everywhere to be more flexible

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

2 participants