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

Description Usage Arguments Value Author(s) Examples

View source: R/missingValuesFilter.R

Description

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

Usage

1
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.

Author(s)

Samuel Wieczorek

Examples

1
2
utils::data(Exp1_R25_pept, package='DAPARdata')
getIndicesOfLinesToRemove(Exp1_R25_pept, "Potential_contaminant", prefix="+")

DAPAR documentation built on April 11, 2021, 6 p.m.