View source: R/ExpandDiagonal.R
ExpandDiagonal | R Documentation |
PairSummaries
object.
Attempt to expand blocks of paired features in a PairSummaries
object.
ExpandDiagonal(SynExtendObject,
DataBase01,
InheritConfidence = FALSE,
GapTolerance = 100L,
DropSingletons = FALSE,
UserConfidence = list("PID" = 0.3),
Processors = 1,
Verbose = FALSE)
SynExtendObject |
An object of class |
DataBase01 |
A character string pointing to a SQLite database, or a connection to a |
InheritConfidence |
A logical indicating whether or not to inheret the user specified column-value pairs assigned to the input object. |
GapTolerance |
Integer value indicating the |
DropSingletons |
Ignore solo pairs when planning expansion routes. Set to |
UserConfidence |
A named list of length 1 where the name identifies a column of the |
Processors |
An integer value indicating how many processors to supply to |
Verbose |
Logical indicating whether or not to display a progress bar and print the time difference upon completion. |
ExpandDiagonal
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
library(RSQLite)
DBPATH <- system.file("extdata",
"Endosymbionts_v02.sqlite",
package = "SynExtend")
tmp <- tempfile()
system(command = paste("cp",
DBPATH,
tmp))
DBCONN <- dbConnect(SQLite(), tmp)
data("Endosymbionts_LinkedFeatures", package = "SynExtend")
PrepareSeqs(SynExtendObject = Endosymbionts_LinkedFeatures,
DataBase01 = DBCONN,
Verbose = TRUE)
SummarizedPairs <- SummarizePairs(SynExtendObject = Endosymbionts_LinkedFeatures,
DataBase01 = DBCONN,
Verbose = TRUE)
ExpandedPairs <- ExpandDiagonal(SynExtendObject = SummarizedPairs,
DataBase01 = DBCONN,
Verbose = TRUE)
dbDisconnect(DBCONN)
unlink(tmp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.