Description Usage Arguments Value See Also Examples
the ranges in the resulting GRanges
object correspond either to the reads or to the target depending on the value of the focus argument
1 |
paf |
A tibble with a paf file imported with the read_paf function |
focus |
Character string. Either "target" or "reads" indicating which ranges will be represented in the GRanges |
includetags |
Logical. Should the tags in the paf file be present in mcols from the GRanges (default is TRUE)? |
a GRanges
object
1 2 3 4 5 6 | ## Example data set:
Path2paf <- system.file("extdata", "BAC02_mmap2Ecoli.paf", package = "NanoBAC")
## Import the data (ignore the parsing failures):
suppressWarnings(mypaf <- read_paf(Path2paf))
## Convert the dataset to a GRanges focusing on the reads
mypafgr <- paf2gr(mypaf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.