Description Usage Arguments Value Examples
These functions retrieve information about alignments. Namely, position, length, and accuracy.
1 2 3 | getTemplateSpan(cmpH5, idx = seq.int(1, nrow(cmpH5)))
getAccuracy(cmpH5, idx = seq.int(1, nrow(cmpH5)),
denominator = getReadLength)
|
cmpH5 |
An object of class |
idx |
The indices of the alignments to retrieve. |
denominator |
What to divide the number of errors by. |
Return numeric vectors of length: length(idx)
.
1 2 3 4 5 6 7 8 | require(pbh5)
cmpH5 <- PacBioCmpH5(system.file("h5_files", "aligned_reads.cmp.h5", package = "pbh5"))
tStrand <- getTemplateStrand(cmpH5)
tStart <- getTemplateStart(cmpH5)
tEnd <- getTemplateEnd(cmpH5)
tSpan <- getTemplateSpan(cmpH5)
matrix <- cbind(tStart, tEnd, tSpan)
head(matrix, 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.