Description Usage Arguments Value Examples
These functions take an object of class bas.h5 or pls.h5 and return vectors for each ZMW represented by holeNumbers (all ZMWs) if no holeNumbers argument is given. Frequently, not all of these values are present in a bas.h5 or pls.h5 file and therefore users should either check or catch and error.
1 | getBasecalls(basH5, holeNumbers = getHoleNumbers(basH5), ...)
|
basH5 |
An object of class |
holeNumbers |
which ZMWs to grab. |
... |
Extra arguments to |
A list of character vectors (or whatever object the function
convert
returns).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | basFiles <- list.files(system.file("h5_files", package = "pbh5"),
pattern = "bas", full.names = TRUE)
cmpFiles <- list.files(system.file("h5_files", package = "pbh5"),
pattern = "cmp", full.names = TRUE)
## instantiate the bas.h5 files and name them to work with some of the
## paired cmp.h5 bas.h5 functionality.
basH5s <- lapply(basFiles, PacBioBasH5)
names(basH5s) <- sapply(basH5s, getMovieName)
## returns the basecalls for holenumbers 1 and 2.
getBasecalls(basH5s[[1]], holeNumbers = 1:2)
## returns the most probable deleted base.
getDeletionTag(basH5s[[1]], holeNumbers = 1:2)
## gets the index into the pulse calls.
getPulseIndex(basH5s[[1]], holeNumbers = 1:2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.