removeLines: Removes lines in the dataset based on a prefix string.

View source: R/missingValuesFilter.R

removeLinesR Documentation

Removes lines in the dataset based on a prefix string.

Description

Removes lines in the dataset based on a prefix string.

Usage

removeLines(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

An object of class MSnSet.

Author(s)

Samuel Wieczorek

Examples

data(Exp1_R25_pept, package="DAPARdata")
removeLines(Exp1_R25_pept[seq_len(100)], "Potential_contaminant")
removeLines(Exp1_R25_pept[seq_len(100)], "Reverse")


prostarproteomics/DAPAR documentation built on Oct. 11, 2024, 12:03 p.m.