library("prolfquapp")
csv <- system.file("application/contrasts/scenario1_single_factor.csv",
package = "prolfquapp")
result <- run_contrasts_single(csv, control = "WT")
table(result$group, result$CONTROL)
C T
KO 0 3
OE 0 3
WT 3 0
Reads an annotation file, validates the control level exists, and adds a CONTROL column (C for control, T for treatment).
run_contrasts_single(annotation_file, control, group = NULL)
annotation_file
|
path to annotation CSV/TSV/XLSX |
control
|
reference level name (e.g. "WT") |
group
|
group column name, or NULL to auto-detect |
data.frame with CONTROL column added
library("prolfquapp")
csv <- system.file("application/contrasts/scenario1_single_factor.csv",
package = "prolfquapp")
result <- run_contrasts_single(csv, control = "WT")
table(result$group, result$CONTROL)
C T
KO 0 3
OE 0 3
WT 3 0