read in multiple input files and extract specified columns

gather_samples(sources, col.names, retain.first.col = TRUE)

Arguments

sources

Character vector of filepaths to read in. All source files should contain the same type of data - enrichments, normalized read counts, etc.

col.names

Character vector of columns to extract. Vector order should match desired order in output.

retain.first.col

Logical whether to also include the furst column of the first specified source file. Often this column will contain peptide names of interest.