Learn R Programming

XYomics (version 0.1.2)

generate_boxplot: Generate Boxplots for Expression Data

Description

Creates boxplots to visualize expression differences across conditions and genders.

Usage

generate_boxplot(
  x,
  index,
  phenotype,
  gender,
  title = "Expression Boxplot",
  xlab = "Conditions",
  ylab = "Expression Level"
)

Value

A boxplot is generated.

Arguments

x

Expression data matrix.

index

Numeric vector indicating which features (rows) to plot.

phenotype

Vector of phenotype labels.

gender

Vector of gender labels.

title

Title for the plot.

xlab

Label for the x-axis.

ylab

Label for the y-axis.