Generate a Barplot of Total Intensities by Sample Group
qc_totInt.RdThis function creates a barplot where samples are organized and colored by group. It also identifies potential outliers based on a specified percentile of total intensity values.
Usage
qc_totInt(
DAList,
label_column,
grouping_column,
percentile,
colors = NULL,
legend.position = "right"
)Arguments
- DAList
A list containing
metadataanddata. Themetadatashould include sample labels and grouping information.- label_column
A string specifying the column name in
metadatacontaining sample labels.- grouping_column
A string specifying the column name in
metadatacontaining grouping information.- percentile
A numeric value (0-1) specifying the percentile threshold for identifying low-intensity samples.
- colors
A vector of colors (one per group). If NULL, a predefined color palette is used.
- legend.position
A string specifying legend position. Options: "none", "right", "top", "left", "bottom".