Skip to contents

plot_distribution_partialTAI generates two plots that help to compare the distribution of expression levels through various developmental stages, highlighting each stage with distinct colors.

Usage

plot_distribution_expression(
  ExpressionSet,
  stages = 1:(ncol(ExpressionSet) - 2),
  xlab = "Expression",
  ylab = "Density",
  main = "Density Distribution of Expression by Developmental Stage",
  seed = 123
)

Arguments

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

Details

Recommendation - Apply a square root transformation to enhance the visualization of differences in the distributions: plot_distribution_partialTAI(tf(ExpressionSet, sqrt))

Author

Filipa Martins Costa