Closed davemcg closed 4 years ago
No, the vignette is correct. Why do you think it's a bug?
Sorry, I'm following along with own Seurat obj (rpe.atac
(which doesn't already have a peak slot)....I get an error:
> rpe.atac[['peaks']] <- AddMotifObject(
object = rpe.atac[['peaks']],
motif.object = motif
)
Error in `[[.Seurat`(rpe.atac, "peaks") :
Cannot find 'peaks' in this Seurat object
Doesn't object
refer to seurat object, and not the slot?
Object in this case refers to an Assay object. Here you're getting the error because you don't have an assay called "peaks" in the Seurat object
Ah, I named my ATAC assay 'ATAC'....sorry for the wasted time.
https://satijalab.org/signac/articles/motif_vignette.html
This should be