Creates boxplots to visualize expression differences across conditions and genders.
generate_boxplot(
x,
index,
phenotype,
gender,
title = "Expression Boxplot",
xlab = "Conditions",
ylab = "Expression Level"
)A boxplot is generated.
Expression data matrix.
Numeric vector indicating which features (rows) to plot.
Vector of phenotype labels.
Vector of gender labels.
Title for the plot.
Label for the x-axis.
Label for the y-axis.