Learn R Programming

DAPAR (version 1.4.7)

getIndicesOfLinesToRemove: Get the indices of the lines to delete, based on a prefix string

Description

This function returns the indice of the lines to delete, based on a prefix string

Usage

getIndicesOfLinesToRemove(obj, idLine2Delete = NULL, prefix = NULL)

Arguments

obj
An object of class MSnSet.
idLine2Delete
The name of the column that correspond to the data to filter
prefix
A character string that is the prefix to find in the data

Value

A vector of integers.

Examples

Run this code
data(UPSpep25)
getIndicesOfLinesToRemove(UPSpep25, "Potential.contaminant", prefix="+")

Run the code above in your browser using DataLab