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

View source: R/missingValuesFilter.R

getIndicesOfLinesToRemoveR Documentation

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

Description

Get the indices 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.

Author(s)

Samuel Wieczorek

Examples

data(Exp1_R25_pept, package="DAPARdata")
ind <- getIndicesOfLinesToRemove(Exp1_R25_pept[seq_len(100)], 
"Potential_contaminant",
    prefix = "+"
)


prostarproteomics/DAPAR documentation built on March 28, 2024, 4:44 a.m.