Learn R Programming

msmsEDA (version 1.10.0)

pp.msms.data: Spectral counts matrix pre-processing

Description

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.

Usage

pp.msms.data(msnset)

Arguments

msnset
A MSnSet with spectral counts in the expression matrix.

Value

  • Returns an updated MSnSet object. Its processingData slot shows that the object has been processed by pp.msms.data

Details

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.

See Also

MSnSet

Examples

Run this code
data(msms.dataset)
dim(msms.dataset)
msnset <- pp.msms.data(msms.dataset)
dim(msnset)

Run the code above in your browser using DataLab