Learn R Programming

DAPAR (version 1.4.7)

mvFilterFromIndices: Filter lines in the matrix of intensities w.r.t. some criteria

Description

Filters the lines of exprs() table with conditions on the number of missing values. The user chooses the minimum amount of intensities that is acceptable and the filter delete lines that do not respect this condition. The condition may be on the whole line or condition by condition.

Usage

mvFilterFromIndices(obj, keepThat = NULL, processText = NULL)

Arguments

obj
An object of class MSnSet containing quantitative data.
keepThat
A vector of integers which are the indices of lines to keep.
processText
A string to be included in the MSnSet object for log.

Value

An instance of class MSnSet that have been filtered.

Details

The different methods are : "wholeMatrix": given a threshold th, only the lines that contain at least th values are kept. "allCond": given a threshold th, only the lines which contain at least th values for each of the conditions are kept. "atLeastOneCond": given a threshold th, only the lines that contain at least th values, and for at least one condition, are kept.

Examples

Run this code
data(UPSpep25)
mvFilter(UPSpep25, c(1:10))

Run the code above in your browser using DataLab