Harmonize the expression values for a defined batch variable (batch_var
).
Arguments
- fcd
flow cytometry dataset.
- batch_var
vector of column names from
fcd$anno$cell_anno
to use for correcting the data.- seed
A seed is set for reproducibility.
Value
The function returns a fcd with a harmonized expression data frame based on HarmonyMatrix
. The harmonized expression data frame is saved in fcd$expr$norm
.