Get motif object from given assay

GetMotifObject(object, ...)

# S3 method for Assay
GetMotifObject(object, ...)

# S3 method for Seurat
GetMotifObject(object, assay = NULL, ...)

Arguments

object

A Seurat object

...

Arguments passed to other methods

assay

Which assay to use. Default is the current active assay

Value

Returns a Motif object

Examples

GetMotifObject(object = atac_small[['peaks']])
#> A Motif object containing 5 motifs in 100 regions
GetMotifObject(object = atac_small)
#> A Motif object containing 5 motifs in 100 regions