Visualizes pairwise orthologs for multiple species comparisons as line graph.

gg_pairwise_orthologs_line(
  ortho_summary,
  xlab = "Subject Species",
  ylab = "Number of reciprocal best hit orthologs",
  title = "",
  vline = NULL,
  ymax = NULL
)

Arguments

ortho_summary

a data.frame storing the subject_species in the first column and the number of orthologs named n_orthologs in the second column.

xlab

label of x-axis.

ylab

label of y-axis.

title

plot title.

vline

plot a line characterizing the core set. Default is vline = NULL meaning that no vline is drawn.

ymax

max value of y-axis. Default is ymax = NULL meaning that the largest value within the dataset will be used to determine y-max.

Author

Hajk-Georg Drost