Description Objects from the Class Slots Author(s) References See Also Examples
The CoverageBigWigFile class contains information on a BigWIG file and inherits fields from the BigWigFile
class in the rtracklayer
package.
Objects can be created by calls of the form CoverageBigWigFile()
. This class represents an alignment in the BigWIG format for which each genomic position has a depth of coverage value associated.
The reads_mapped
argument is optional but it is required if the normalization
parameter is set in the cov.matrix
and cov.interval
functions
resource
A character string that details the path to the BigWIG file
reads_mapped
A number representing the number of reads aligned in the file. Default = 0
Additional arguments
Ernesto Lowy <ernestolowy@gmail.com>
WIG format specification: https://genome.ucsc.edu/FAQ/FAQformat.html
BigWigFile
CoverageBamFile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ##get BigWIG test file
inputfile<-system.file("extdata","treat.bw",package="CoverageView")
#create a CoverageBigWigFile object
trm<-CoverageBigWigFile(inputfile)
#create a CoverageBigWigFile object including the information of the number of reads aligned
trm1<-CoverageBigWigFile(inputfile,reads_mapped=28654321)
##get BigWIG test file
inputfile<-system.file("extdata","treat.bw",package="CoverageView")
#create a CoverageBigWigFile object
trm<-CoverageBigWigFile(inputfile)
#create a CoverageBigWigFile object including the information of the number of reads aligned
trm1<-CoverageBigWigFile(inputfile,reads_mapped=28654321)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.