Spectral counts matrix pre-processing
Given a MSnSet, possibly subsetted from a bigger dataset, removes the all zero rows, and those whith row names (accessions) ending with '-R' in the corresponding expression matrix. NAs are replaced by zeroes, as usually a NA in a spectral counts matrix corresponds to a proteint not identified in a sample.
A MSnSet with spectral counts in the expression matrix.
An '-R' protein corresponds to an artefactual identification.
Rows with all zeros are uninformative and may give rise to errors in the analysis.
A NA is understood as a unidintified protein in a sample.
Returns an updated MSnSet object.
Its processingData slot shows that the object has been processed by
1 2 3 4