plotOverallCovHistogram: plot a histogram of whole genome depth-of-coverage

Description Usage Arguments Value Examples

View source: R/PlotsDepthOfCoverage.R

Description

This method will plot a histogram of whole genome depth-of-coverage

Usage

1

Arguments

bamFile

is the path to the bamFile to plot

segments

number of segments to split data into

...

such as FORCE=TRUE

Value

ggplot2 plot

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

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