calc_reference.Rd
The reference profile is calculated using the samples annotated as "sample_class" in the sample annotation column "sample_col". Launch function before normalize_profiles function
calc_reference(
mRList = NULL,
sample_col = "class",
sample_class = "QC",
approach = c("median", "mean")
)
mRList object
the column of mRList$sample_ann where the "sample_class" value is found
label to identify the samples to be used for the reference profile calculation
The type of average: "median" or "mean".
mRList object with mRList$reference