plot_distribution_expression: Comparing expression levels distributions across stages

View source: R/plot_distribution_expression.R

plot_distribution_expressionR Documentation

Comparing expression levels distributions across stages

Description

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(s)

Filipa Martins Costa


drostlab/myTAI documentation built on Feb. 15, 2025, 6:44 p.m.