Description Usage Arguments Value Methods (by class) Examples
Computes GC content for peaks
1 2 3 4 5 6 7 8 9 |
object |
(Ranged)SummarizedExperiment |
... |
additional arguments |
genome |
BSgenome object, by defualt hg19 |
peaks |
GenomicRanges with peaks, needed if object is SummarizedExperiment and not RangedSummarizedExperiment |
(Ranged)SummarizedExperiment object with new column in row metadata with the gc content of the peak in question
RangedSummarizedExperiment
: method for RangedSummarizedExperiment
SummarizedExperiment
: method for SummarizedExperiment
1 2 3 4 5 6 | data(example_counts, package = "chromVAR")
# show example on small part of data
subset_counts <- example_counts[1:500,]
library(BSgenome.Hsapiens.UCSC.hg19)
example_counts <- addGCBias(subset_counts,
genome = BSgenome.Hsapiens.UCSC.hg19)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.