Description Usage Arguments Value Examples
Import regions from coverage stored as a BigWigFile or RleList and return a NumericList. Regions unkown to the BigWigFile/RleList will be ignored, and it is ensured the output vectors all have the same length.
1 2 3 4 5 6 7 | agnosticImport(signal, sites)
## S4 method for signature 'BigWigFile,GenomicRanges'
agnosticImport(signal, sites)
## S4 method for signature 'RleList,GenomicRanges'
agnosticImport(signal, sites)
|
signal |
BigWigFile or RleList: Genomic signal |
sites |
GenomicRanges: Regions to be extracted |
NumericList
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | data("CAGE_clusters")
data("CAGE_plus")
# Import from an RleList
agnosticImport(signal=CAGE_plus$WT, sites=subset(CAGE_clusters, strand=="+"))
# Import from a BigWig
## Not run:
library(AnnotationHub)
ah <- AnnotationHub()
DNase <- ah[["AH32877"]]
agnosticImport(signal=DNase, sites=subset(CAGE_clusters, strand=="+"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.