Loading and reformatting of MS data from Scaffold
Source:R/preprocessing.R
preprocessing_scaffold.Rd
Read a data file from Scaffold, select columns necessary for analysis, and return the reformatted data.
Value
If the data contains columns for Gene Ontology (GO) annotation terms, the function returns a list containing both the preprocessed 2d dataframe and a list of GO terms.
If no GO annotation columns are present, the function returns only the preprocessed 2d dataframe.
Details
The function executes the following:
Reads the file.
Provides summary statistics and a histogram of all values reported in the data set.
Selects columns that contain necessary information for the analysis.
Re-formats the data to present individual proteins as columns and group replicates under each protein.
Stores the data as a
data.frame
and prints the levels of condition and replicate to the user.