View source: R/04_synteny_detection.R
parse_collinearity | R Documentation |
The .collinearity files can be obtained with intraspecies_synteny
and interspecies_synteny
, which execute a native version of the
MCScan algorithm.
parse_collinearity(collinearity_paths = NULL, as = "anchors")
collinearity_paths |
Character vector of paths to .collinearity files. |
as |
Character specifying what to extract. One of "anchors" (default), "blocks", or "all". |
If as is "anchors", a data frame with variables "Anchor1", and "Anchor2". If as is "blocks", a data frame with variables "Block", "Block_score", "Chr", and "Orientation". If as is "all", a data frame with all aforementioned variables, which indicate:
Numeric, synteny block ID
Numeric, score of synteny block.
Character, query and target chromosome of the synteny
block formatted as "
Character, the orientation of genes within blocks, with "plus" indicating that genes are in the same direction, and "minus" indicating that genes are in opposite directions.
Character, gene ID of anchor 1.
Character, gene ID of anchor 2.
collinearity_paths <- system.file(
"extdata", "Scerevisiae.collinearity", package = "syntenet"
)
net <- parse_collinearity(collinearity_paths)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.