Description Usage Arguments Value Examples
'getLocalPolymerizationRate' computes the local polymerization rate within each alignment by dividing each alignment into 10 sections.
1 2 3 4 |
cmpH5 |
An object of class |
idx |
The indices of the alignments to return. |
binFunction |
A function which partitions each alignment into bins. The default option is 10 bins per alignment. |
'getLocalPolymerizationRate' returns a list of arrays with start and end times as well as corresponding local polymerization rates within those time-blocks.
1 2 3 4 5 6 7 8 | require(pbh5)
gc()
cmpH5 <- PacBioCmpH5(system.file("h5_files", "aligned_reads.cmp.h5", package = "pbh5"))
## Not run:
localRate <- getLocalPolymerizationRate(cmpH5, idx = 1:10)
boxplot(localRate, ylab = "Local Polymerization Rate", xlab = "IndexNumbers")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.