Description Usage Arguments Details Value Author(s) See Also Examples
Make the plot of Multi-Matching Reported in Bam Files.
1 2 3 | makeAlignmentCountBarPlot(bamFiles, txtFile="read-alignment-statistics.txt",
pairedMode=c("paired", "first", "second"),
mc.cores=getThreads())
|
bamFiles |
The filenames of input bam files. |
txtFile |
The filename of output for the summary table. |
pairedMode |
The |
mc.cores |
The number of threads to use. By default,
we use a internal function |
The barplot gives the number of unmapped reads (If the input read count cannot be retrieved from bam file), the reads that have exactly one hit, the reads that have exactly two hits, and so on.
The object returned by barplot.
Ge Tan
1 2 3 4 5 6 | bamFile <- system.file("extdata", "bam", "nanocage_ACAGAT_carp_embryo.bam",
package="NGS")
### Plot the barplot
makeAlignmentCountBarPlot(bamFile)
file.remove("read-alignment-statistics.txt")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.