Description Arguments Objects from the Class Author(s) References See Also Examples
The CoverageBamFile
class contains information on a BAM file and inherits fields from the BamFile
class in the Rsamtools
package.
|
A character string that details the path to the BAM file |
|
A number representing the number of reads having an alignment. Default = 0 |
|
A character string describing the type of sequencing run. Possible values are 'single' and 'paired'. Default='single' |
... |
Additional arguments |
Use CoverageBamFile()
to create a reference to a BAM file.
This class represents an alignment in the BAM format that can be processed by the different methods of the CoverageView package.
The reads_mapped
argument is optional and will be automatically calculated (if it is not provided) when the normalization
argument is set in the cov.matrix
and cov.interval
functions
Ernesto Lowy <ernestolowy@gmail.com>
BAM format specification: http://samtools.sourceforge.net/SAMv1.pdf
BamFile
CoverageBigWigFile
1 2 3 4 5 6 7 8 9 | #get a Bam test file
inputfile<-system.file("extdata","treat.bam",package="CoverageView")
#create a CoverageBamFile object
trm<-CoverageBamFile(inputfile)
#create a CoverageBamFile object including the information of the number
#of reads aligned and the sequencing run type
trm1<-CoverageBamFile(inputfile,reads_mapped=28654321,run_type="single")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.