This function enables users to plot pairwise dN, dS, or dN/dS distributions of orthologous genes.

dnds_across_multiple_species_plot(
  dnds_species_tbl,
  type,
  order,
  xlab = "",
  ylab = "",
  title = ""
)

Arguments

dnds_species_tbl

a dnds table created with dnds_across_multiple_species.

type

type of substitution rate quantification that shall be visualized on the y-axis. Options are:

  • type = "dn"

  • type = "ds"

  • type = "dn/ds"

  • type = "dn+ds"

order

a character vector specifying the order of the species using their scientific names (which have to match the species names stored in the subject_species column of the input dnds_species_tbl).

xlab

label of x-axis.

ylab

label of y-axis.

title

title label.

Author

Hajk-Georg Drost