Description Usage Arguments Value Methods (by class) Examples
get motif scores from SummarizedExperiment object
1 2 3 4 | motifScores(object)
## S4 method for signature 'SummarizedExperiment'
motifScores(object)
|
object |
SummarizedExperiment object with scores assay |
matrix with scores
SummarizedExperiment
: method for SummarizedExperiment
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | data(example_motifs, package = "motifmatchr")
# Make a set of peaks
peaks <- GenomicRanges::GRanges(seqnames = c("chr1","chr2","chr2"),
ranges = IRanges::IRanges(start = c(76585873,42772928,
100183786),
width = 500))
# Get motif matches for example motifs
motif_ix <- matchMotifs(example_motifs, peaks,
genome = "BSgenome.Hsapiens.UCSC.hg19",
out = "scores")
motifScores(motif_ix)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.