Learn R Programming

Signac (version 1.14.0)

GetMotifData: Retrieve a motif matrix

Description

Get motif matrix for given assay

Usage

GetMotifData(object, ...)

# S3 method for Motif GetMotifData(object, slot = "data", ...)

# S3 method for ChromatinAssay GetMotifData(object, slot = "data", ...)

# S3 method for Seurat GetMotifData(object, assay = NULL, slot = "data", ...)

Value

Returns a Seurat object

Arguments

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

Examples

Run this code
motif.obj <- SeuratObject::GetAssayData(
  object = atac_small[['peaks']], slot = "motifs"
)
GetMotifData(object = motif.obj)
GetMotifData(object = atac_small)

Run the code above in your browser using DataLab