motif.obj <- SeuratObject::GetAssayData(
object = atac_small[['peaks']], layer = "motifs"
)
subset(x = motif.obj, features = head(rownames(motif.obj), 10))
motif.obj <- SeuratObject::GetAssayData(
object = atac_small, assay = 'peaks', layer = 'motifs'
)
motif.obj[1:10,1:10]
Run the code above in your browser using DataLab