Subset a Motif object
Returns a subset of a Motif-class
object.
## S3 method for class 'Motif' subset(x, features = NULL, motifs = NULL, ...) ## S3 method for class 'Motif' x[i, j, ...]
x |
A Motif object |
features |
Which features to retain |
motifs |
Which motifs to retain |
... |
Arguments passed to other methods |
i |
Which columns to retain |
j |
Which rows to retain |
Returns a subsetted Motif
object
motif.obj <- Seurat::GetAssayData( object = atac_small[['peaks']], slot = "motifs" ) subset(x = motif.obj, features = head(rownames(motif.obj), 10)) motif.obj <- Seurat::GetAssayData( object = atac_small, assay = 'peaks', slot = 'motifs' ) motif.obj[1:10,1:10]
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.