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

snapRbind uses defunct function rBind #255

Open
imran-aifi opened this issue Apr 27, 2023 · 0 comments
Open

snapRbind uses defunct function rBind #255

imran-aifi opened this issue Apr 27, 2023 · 0 comments

Comments

@imran-aifi
Copy link

imran-aifi commented Apr 27, 2023

I am getting this error when running Step 1 of the PBMC tutorial: https://github.com/r3fang/SnapATAC/tree/master/examples/10X_PBMC_15K#barcode_selection :

> x.sp = Reduce(snapRbind, x.sp.ls);
Error: 'rBind' is defunct; 'base::rbind' handles S4 objects since R 3.2.0
> traceback()
5: stop(errorCondition(msg, old = fname, new = new, package = package, 
       class = "defunctError"))
4: .Defunct(msg = "'rBind' is defunct; 'base::rbind' handles S4 objects since R 3.2.0")
3: Matrix::rBind(bmat1, bmat2)
2: f(init, x[[i]])
1: Reduce(snapRbind, x.sp.ls)

This seems like a simple patch to update rBind to base::rbind.

@imran-aifi imran-aifi changed the title rBind is defunct in SnapATAC::Reduce SnapATAC::Reduce uses defunct function rBind Apr 27, 2023
@imran-aifi imran-aifi changed the title SnapATAC::Reduce uses defunct function rBind snapRbind uses defunct function rBind Apr 27, 2023
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