Signac (version 0.2.4)

subset.Motif: Return a subset of a Motif object

Description

Return a subset of a Motif object

Usage

# S3 method for Motif
subset(x, features = NULL, motifs = NULL, ...)

# S3 method for Motif [(x, i, j, ...)

Arguments

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

Value

Returns a subsetted Motif object

See Also

subset

Examples

Run this code
# 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