View source: R/utils_synteny.R
interspecies_synteny | R Documentation |
Detect interspecies synteny
interspecies_synteny(
blast_inter = NULL,
annotation = NULL,
inter_dir = file.path(tempdir(), "inter"),
anchors = 5,
max_gaps = 25,
is_pairwise = TRUE,
verbose = FALSE,
bp_param = BiocParallel::SerialParam(),
...
)
blast_inter |
A list of BLAST/DIAMOND data frames for
interspecies comparisons as returned by |
annotation |
A processed GRangesList or CompressedGRangesList object
as returned by |
inter_dir |
Path to output directory where .collinearity files will be stored. |
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 |
Paths to .collinearity files.
# Load data
data(proteomes)
data(blast_list)
data(annotation)
# Get DIAMOND and processed annotation lists
blast_inter <- blast_list[2]
annotation <- process_input(proteomes, annotation)$annotation
# Detect interspecies synteny
intersyn <- interspecies_synteny(blast_inter, annotation)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.