View source: R/04_synteny_detection.R
infer_syntenet | R Documentation |
Infer synteny network
infer_syntenet(
blast_list = NULL,
annotation = NULL,
outdir = tempdir(),
anchors = 5,
max_gaps = 25,
is_pairwise = TRUE,
verbose = FALSE,
bp_param = BiocParallel::SerialParam(),
...
)
blast_list |
A list of data frames, each data frame having
the tabular output of BLASTp or similar programs, such as DIAMOND.
This is the output of the function |
annotation |
A processed GRangesList, CompressedGRangesList, or
list of GRanges as returned by |
outdir |
Path to the output directory. Default: tempdir(). |
anchors |
Numeric indicating the minimum required number of genes to call a syntenic block. Default: 5. |
max_gaps |
Numeric indicating the number of upstream and downstream genes to search for anchors. Default: 25. |
is_pairwise |
specify if only pairwise blocks should be reported Default: TRUE |
verbose |
Logical indicating if log messages should be printed on screen. Default: FALSE. |
bp_param |
BiocParallel back-end to be used.
Default: |
... |
Any additional arguments to the |
A network represented as an edge list.
# Load data
data(proteomes)
data(annotation)
data(blast_list)
# Create processed annotation list
annotation <- process_input(proteomes, annotation)$annotation
# Infer the synteny network
net <- infer_syntenet(blast_list, annotation)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.