I got it!
Thanks
• 0 views
•
link
If I have a seurat object with two assay classes "ADT" and "RNA" how do I remove one or the other from the object?
I tried
rm(Object@ADT) rm(Object@"ADT") rm(Object$ADT) rm(Object$"ADT")
?
You cannot use rm to remove slots from an S3/S4 object. Set it to NULL instead.
s4obj@myslot <- NULL
s3obj$myNamedItem <- NULL
Log in to answer this question.