plot_distribution_partialTAI: Comparing partial TAI distributions across stages

View source: R/plot_distribution_partialTAI.R

plot_distribution_partialTAIR Documentation

Comparing partial TAI distributions across stages

Description

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.

Usage

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
)

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.