plotDepthOfCoverageMegablock: plot a tiled panel of chromosomal depths-of-coverage

Description Usage Arguments Value Examples

View source: R/PlotsDepthOfCoverage.R

Description

This method will display depths-of-coverage for the chromosomes contained in the provided parsedBamFile container

Usage

1
plotDepthOfCoverageMegablock(coverageData = NULL, colMax = 4, ...)

Arguments

coverageData

data.frame of coverage data

colMax

defines the number of columns

...

for downstream tuning

Value

ggplot2 image

Examples

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)
plotDepthOfCoverageMegablock()

sagrudd/nanopoRe documentation built on June 7, 2020, 10:20 p.m.