GetMotifData | R Documentation |
Get motif matrix for given assay
GetMotifData(object, ...)
## S3 method for class 'Motif'
GetMotifData(object, slot = "data", ...)
## S3 method for class 'ChromatinAssay'
GetMotifData(object, slot = "data", ...)
## S3 method for class 'Seurat'
GetMotifData(object, assay = NULL, slot = "data", ...)
object |
A Seurat object |
... |
Arguments passed to other methods |
slot |
Information to pull from object (data, pwm, meta.data) |
assay |
Which assay to use. Default is the current active assay |
Returns a Seurat
object
motif.obj <- SeuratObject::GetAssayData(
object = atac_small[['peaks']], slot = "motifs"
)
GetMotifData(object = motif.obj)
GetMotifData(object = atac_small)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.