import_data:
import_data: Transforms the column names from a data frame to the required format.
Description
This functions transforms the column names from a data frame from another format to a data frame with column names used by the OpenSWATH output and required for these functions. During executing of the function the corresponding columns for each column in the data need to be selected. For columns that do not corresond to a certain column 'not applicable' needs to be selected and the column names are not changed.
Usage
import_data(data)
Arguments
data
A data frame containing the SWATH-MS data (one line per peptide precursor quantified) but with different column names.