View source: R/plot_distribution_partialTAI_qqplot.R
plot_distribution_partialTAI_qqplot | R Documentation |
plot_distribution_partialTAI_qqplot generates a QQ plot to compare the partial TAI
distributions of various developmental stages against a reference stage.
It visualizes quantile differences between the reference and other stages,
highlights each stage with distinct colors, and annotates the plot with the p-values
from the nonparametric ks.test
to indicate the significance of distribution differences.
plot_distribution_partialTAI_qqplot(
ExpressionSet,
reference_stage_index = 1,
xlab = "Quantiles of Reference Stage",
ylab = "Quantiles of Other Stages",
main = "QQ Plot: Developmental Stages vs Reference Stage (p-values from KS test)",
alpha = 0.7,
size = 1.2
)
ExpressionSet |
a standard PhyloExpressionSet or DivergenceExpressionSet object. |
reference_stage_index |
an integer specifying the index of the reference developmental stage of the ExpressionSet. The partial TAI distribution of this stage will be used as the reference for comparisons with other stages (as default stage index 1). |
xlab |
label of x-axis. |
ylab |
label of y-axis. |
main |
figure title. |
alpha |
transparency of the point. |
size |
size of the points. |
Filipa Martins Costa
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.