# specify the reference samples with their sample names
toy_metaboscape %>%
impute_lod() %>%
normalize_pqn(reference_samples = c("QC1", "QC2", "QC3"))
# specify the reference samples with their group names
toy_metaboscape %>%
join_metadata(toy_metaboscape_metadata) %>%
impute_lod() %>%
normalize_pqn(reference_samples = c("QC"), ref_as_group = TRUE, group_column = Group)
Run the code above in your browser using DataLab