Description Usage Arguments Value Examples
This function is only slighly modified from https://raw.githubusercontent.com/thackl/thacklr/master/R/read.R By default, this function corrects the start values to take into account that the paf file is 0-based while R/bioconductor is generally 1-based
1 |
file |
Either a path to a file, a connection, or literal data (either a single string or a raw vector). Files ending in Literal data is most useful for examples and tests. It must contain at least one new line to be recognised as data (instead of a path) or be a vector of greater than length 1. Using a value of |
max_tags |
maximum number of optional fields to include |
fix0based |
Logical. Are the ranges in the paf file 0-based and should they be converted to 1-based (default is TRUE)? |
tibble
1 2 3 4 5 6 | ## Example data set:
Path2paf <- system.file("extdata", "BAC02_mmap2Ecoli.paf", package = "NanoBAC")
## Import the data (ignore the warnings linked to the file parsing):
suppressWarnings(
mypaf <- read_paf(Path2paf)
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.