Description Usage Arguments Value Examples
This method will return a tiled Granges object containing mean depth of coverage information
| 1 2 3 4 5 6 | bamSummaryToCoverage(bamFile=NULL,
    tilewidth = 1e+05,
    blocksize = 10000,
    flag = 'Primary',
    ...
)
 | 
| bamFile | - path to the bamFile to use | 
| tilewidth | - the size of the window to use for the tiling | 
| blocksize | to use for parsing the BAM file | 
| flag | mapping type for filter (Primary/Secondary/Supplementary) | 
| ... | such as FORCE=TRUE | 
GRanges object with mean depth of coverage data in binned_cov field
| 1 2 3 4 5 6 7 8 9 | demoBam <- system.file("extdata",
    "Ecoli_zymo_R10_filt_subs.bam",
    package = "nanopoRe")
referenceFasta <- system.file("extdata",
    "Escherichia_coli_complete_genome.fasta",
    package = "nanopoRe")
setReferenceGenome(referenceFasta)
bamSummarise(demoBam, blockSize=1000L)
bamSummaryToCoverage()
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.