This function generates a boxplot of different types of the detect_homologs_proteome_to_proteome output.

gg_hits_boxplot(
  blast_tbl,
  x_type = "species",
  y_type = "qcovhsp",
  xlab = x_type,
  ylab = y_type,
  title = "",
  text_size = 18,
  y_ticks = 8
)

Arguments

blast_tbl

a BLAST table generated with detect_homologs_proteome_to_proteome.

x_type

variable thah shall be visualized on the x-axis. E.g.:

  • type = "species": the species in which blast hits were found (Default)

y_type

variable thah shall be visualized on the y-axis. E.g.:

  • type = "qcovhsp": query coverage of the respective blast hit (Default)

  • type = "perc_identity": visualize the alignment identity in percent for each BLAST hit.

  • type = "alig_length": visualize the alignment length for each BLAST hit.

  • type = "scope": visualize the length homology to the initial query for each BLAST hit.

xlab

x-axis label.

ylab

y-axis label.

title

plot title.

text_size

size of label text.

y_ticks

number of ticks on the y-axis.

Author

Hajk-Georg Drost