View source: R/BlockExpansion.R
BlockExpansion | R Documentation |
PairSummaries
object.
Attempt to expand blocks of paired features in a PairSummaries
object.
BlockExpansion(Pairs,
GapTolerance = 4L,
DropSingletons = FALSE,
Criteria = "PID",
Floor = 0.5,
NewPairsOnly = TRUE,
DBPATH,
Verbose = FALSE)
Pairs |
An object of class |
GapTolerance |
Integer value indicating the |
DropSingletons |
Ignore solo pairs when planning expansion routes. Set to |
Criteria |
Either “PID” or “Score”, indicating which metric to use to keep or reject pairs. |
Floor |
Lower PID limit for keeping a pair that was evaluated during expansion. |
NewPairsOnly |
Logical indicating whether or not to return only the pairs that were kept from all expansion attempts, or to return a |
DBPATH |
A file or connection pointing to the |
Verbose |
Logical indicating whether or not to display a progress bar and print the time difference upon completion. |
BlockExpansion
uses a naive expansion algorithm to attempt to fill in gaps in blocks of paired features and to attempt to expand blocks of paired features.
An object of class PairSummaries
.
Nicholas Cooley npc19@pitt.edu
PairSummaries
, NucleotideOverlap
, link{SubSetPairs}
, FindSynteny
# this function will be deprecated soon,
# please see the new ExpandDiagonal() function.
library(RSQLite)
DBPATH <- system.file("extdata",
"Endosymbionts_v02.sqlite",
package = "SynExtend")
data("Endosymbionts_LinkedFeatures", package = "SynExtend")
Pairs <- PairSummaries(SyntenyLinks = Endosymbionts_LinkedFeatures,
PIDs = TRUE,
Score = TRUE,
DBPATH = DBPATH,
Verbose = TRUE)
data("Endosymbionts_Pairs01", package = "SynExtend")
Pairs02 <- BlockExpansion(Pairs = Pairs,
NewPairsOnly = FALSE,
DBPATH = DBPATH,
Verbose = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.