Description Usage Arguments Details Value Examples
'getPolymerizationRate' computes the polymerization rate for each alignment in the cmpH5 file.
1 | getPolymerizationRate(cmpH5, idx = seq.int(1, nrow(cmpH5)))
|
cmpH5 |
An object of class |
idx |
The indices of the alignments to return. |
Each alignment in the dataset has one polymerization rate value.
Returns a vector of polymerization rates.
1 2 3 4 5 6 7 8 | ## Not run:
require(pbh5)
cmpH5 <- PacBioCmpH5(system.file("h5_files", "aligned_reads.cmp.h5",
package = "pbh5"))
pRate <- getPolymerizationRate(cmpH5)
plot(density(pRate, na.rm = TRUE), xlab = "Polymerization Rate")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.