generate_ortholog_tables_all
R/plot_pairwise_orthologs.R
plot_pairwise_orthologs.Rd
Given a ortho table generated with generate_ortholog_tables_all
,
this function will visualize the number of pairwise orthologs inferred between a reference species A vs a set of subject species B_1, B_2, ...,B_N.
plot_pairwise_orthologs(
ortho_tables,
species_order,
xlab = "Subject Species",
ylab = "Number of reciprocal best hit orthologs",
title = "",
n_core_orthologs = NULL
)
a ortho tables
that was generated with generate_ortholog_tables_all
.
a character string specifying species names listed in the order of phylogenetic/taxonomic distance from the query species.
The species names must match with the species names present in the ortho_tables
.
x-axis label.
y-axis label.
plot title.
number of core orthologs within the ortho tables
.
This number can be retrieved using retrieve_core_orthologs
.