View source: R/plot_distribution_partialTAI.R
plot_distribution_partialTAI | R Documentation |
plot_distribution_partialTAI
generates two plots that help to compare the distribution
of partial TAI through various developmental stages, highlighting each stage with
distinct colors.
plot_distribution_partialTAI(
ExpressionSet,
stages = 1:ncol(ExpressionSet) - 2,
xlab = "Partial TAI",
ylab = "Density",
main = "Density Distribution of Partial TAI by Developmental Stage",
seed = 123
)
ExpressionSet |
a standard PhyloExpressionSet or DivergenceExpressionSet object. |
stages |
a numeric vector specifying the indices of the stages to compare. Each index corresponds to a stage in the ExpressionSet. Starts in one. |
xlab |
label of x-axis. |
ylab |
label of y-axis. |
main |
figure title. |
seed |
defines the colors for the different developmental stages |
Recommendation - Apply a square root transformation to enhance the visualization of differences
in the distributions: plot_distribution_partialTAI(tf(ExpressionSet, sqrt))
Filipa Martins Costa
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.