ggplot_all_stages | R Documentation |
ggplot_all_stages
is a wrapper for ggplot2 that plots a stripchart
and a line plot of the expression of an orthogroup in both species.
ggplot_all_stages(orthogroups, ogset, species_var, condition_var, colours = c("darkblue", "#56B4E9"), use_annos = FALSE)
orthogroups |
a |
ogset |
an ogset class element |
species_var |
a |
condition_var |
a |
colours |
a |
use_annos |
|
This function takes one (ot many) orthogroup IDs and an ogset class element as arguments. It plots a stripchart of the expression of all the stages.
You can also provided a vector of multiple orthogroup IDs, ggplot_all_stages
will plot
all of them using faceting.
The function returns a ggplot object that can be further customized with all basic ggplot2 functionalities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.