Get or set the Motif object for a Seurat object or ChromatinAssay.

Motifs(object, ...)

Motifs(object, ...) <- value

# S3 method for ChromatinAssay
Motifs(object, ...)

# S3 method for Seurat
Motifs(object, ...)

# S3 method for ChromatinAssay
Motifs(object, ...) <- value

# S3 method for Seurat
Motifs(object, ...) <- value

Arguments

object

A Seurat object

...

Arguments passed to other methods

value

A Motif object

Examples

Motifs(atac_small[["peaks"]])
#> A Motif object containing 10 motifs in 323 regions
Motifs(atac_small)
#> A Motif object containing 10 motifs in 323 regions
motifs <- Motifs(atac_small)
Motifs(atac_small[["peaks"]]) <- motifs
motifs <- Motifs(atac_small)
Motifs(atac_small) <- motifs