Description Usage Arguments Value Ambiguity Rules Author(s) Examples
Convert a PSL alignment data.frame into a minimal 1:1 alignment file where each query has at most one target
1 | make.unique.psl(psl, quick = FALSE, ambig.thresh = 0.95)
|
psl |
a psl data.frame; see import.psl |
quick |
if |
ambig.thresh |
undocumented |
a data.frame
with 1 row per query containing the
best alignment for each query.
If there's only one alignment for a query, then no change
If there's > 1 alignment for a query, work out the
pslScore's for each alignment, and choose the best one.
If there is a tie for the best alignment, then the one
closest to the top of the data.frame
is chosen. In
the case of a tie, warning messages are displaying
indicating to the user whether the ties were all on the
same chromosome or not.
Mark Cowley, 12 April 2006
1 2 3 | f <- file.path(system.file(package="blat"), "examples", "test.psl")
psl <- import.psl(f, score=FALSE)
make.unique.psl(psl)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.