motifScores {motifmatchr} | R Documentation |
get motif scores from SummarizedExperiment object
motifScores(object) ## S4 method for signature 'SummarizedExperiment' motifScores(object)
object |
SummarizedExperiment object with scores assay |
matrix with scores
SummarizedExperiment
: method for SummarizedExperiment
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)