Description Usage Arguments Value Examples
View source: R/PlotsDepthOfCoverage.R
This method will plot a histogram of whole genome depth-of-coverage
1 | plotOverallCovHistogram(bamFile = NULL, segments = 50, ...)
|
bamFile |
is the path to the bamFile to plot |
segments |
number of segments to split data into |
... |
such as FORCE=TRUE |
ggplot2 plot
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()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.