Join parsed DIA-NN results to the sample annotation table
Source:R/loaders-diann.R
annotate_diann.RdDIA-NN counterpart to annotate_fragpipe() — always operates in
"combined_file"-equivalent mode (DIA-NN's report.tsv always carries a
Source_file/Run column), so the merge always matches on Sample_fp +
Source_file. Validates the annotation table, compares matched
(Sample_fp, Source_file) pairs and warns about any that will be
dropped, then inner-joins and drops empty factor levels.
Arguments
- input
Output of
parse_diann().- annotation
Annotation data frame; must contain at least
Condition,BioReplicate,TechReplicate,Sample,Sample_fp,Source_file.