Boxplots or densities of the log2 intensities of every unit. Comparing the
same plot before and after normalize_quant() is what makes the chosen
normalization auditable rather than a black box.
Usage
plot_intensity_dist(mat, coldata, type = c("box", "density"), title = NULL)
Arguments
- mat
Numeric matrix of log2 intensities.
- coldata
Matching column metadata (Unit, Condition).
- type
"box" (default) or "density".
- title
Plot title. Default NULL.
Examples
if (FALSE) { # \dontrun{
plot_intensity_dist(mat_n, qm$coldata, title = "After median normalization")
} # }