paf2continuousScale | R Documentation |
This function takes a PAF alignments loaded by readPaf
function and defines how much to shift genomic coordinates
in order to get continuous coordinates in cases when there more than one query or target sequences in the input PAF alignments.
paf2continuousScale(paf.table)
paf.table |
A |
A tibble
of PAF alignments reported with a continuous coordinates.
David Porubsky
## Get PAF to plot
paf.file <- system.file("extdata", "test_ava.paf", package = "SVbyEye")
## Read in PAF
paf.table <- readPaf(paf.file = paf.file, include.paf.tags = TRUE, restrict.paf.tags = "cg")
## Filter PAF
paf.table <- paf.table[paf.table$t.name == "HG03453_2", ]
## Define shift in genomic coordiantes to get continuous scale
paf2continuousScale(paf.table)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.