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")
)

Arguments

mRList

mRList object

sample_col

the column of mRList$sample_ann where the "sample_class" value is found

sample_class

label to identify the samples to be used for the reference profile calculation

approach

The type of average: "median" or "mean".

Value

mRList object with mRList$reference