Description Usage Arguments Value Author(s) Examples
Calculating the frequency of read duplication based on alignment status determined by rname, strand, pos, cigar, mrnm, mpos and isize.
1 | readsDupFreq(bamFile, index = bamFile)
|
bamFile |
A character vector of length 1L containing the name of a BAM file. Only a BAM file with duplication reads are meaningful for estimating the library complexity. For example, a raw BAM file output by aligners, or a BAM file with mitochondrial reads removed. |
index |
A character vector of length 1L containing the name of a BAM index file. |
A two-column matrix of integers. The 1st column is the frequency j = 1,2,3,.... The 2nd column is the number of genomic regions with the same fequency (j) of duplication. The frequency column is in ascending order.
Haibo Liu
1 2 | bamFile <- system.file("extdata", "GL1.bam", package = "ATACseqQC")
freq <- readsDupFreq(bamFile)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.