Return a subset of a Motif object
# S3 method for Motif subset(x, features = NULL, motifs = NULL, ...)# S3 method for Motif [(x, i, j, ...)
# S3 method for Motif [(x, i, j, ...)
A Motif object
Which features to retain
Which motifs to retain
Arguments passed to other methods
Which columns to retain
Which rows to retain
Returns a subsetted Motif object
Motif
subset
# NOT RUN { motif.obj <- GetMotifObject(object = atac_small) subset(x = motif.obj, features = head(rownames(motif.obj), 10)) motif.obj <- GetMotifObject(atac_small) motif.obj[1:10,1:5] # }
Run the code above in your browser using DataLab