Join parsed FragPipe results to the sample annotation table
Source:R/loaders-fragpipe.R
annotate_fragpipe.RdValidates that the annotation table has the minimal required columns,
compares the (Sample_fp, Source_file) pairs found in input vs.
annotation and warns about any that will be dropped on either side, then
inner-joins on the matching key appropriate for mode — Sample_fp alone
for "individual_files", or Sample_fp + Source_file for
"combined_file" (FragPipe combined PSM).
Arguments
- input
Output of
parse_fragpipe().- annotation
Annotation data frame; must contain at least
Condition,BioReplicate,TechReplicate,Sample,Sample_fp(andSource_filewhenmode = "combined_file").- mode
One of
"individual_files"(one folder per file, matched onSample_fp) or"combined_file"(combined PSM, matched onSample_fp+Source_file).