StringBasedFiltering2: Removes lines in the dataset based on a prefix strings.

View source: R/missingValuesFilter.R

StringBasedFiltering2R Documentation

Removes lines in the dataset based on a prefix strings.

Description

This function removes lines in the dataset based on prefix strings.

Usage

StringBasedFiltering2(obj, cname = NULL, tag = NULL)

Arguments

obj

An object of class MSnSet.

cname

The name of the column that correspond to the line to filter

tag

A character string that is the prefix for the contaminants to find in the data

Value

An list of 4 items : obj : an object of class MSnSet in which the lines have been deleted deleted : an object of class MSnSet which contains the deleted lines

Author(s)

Samuel Wieczorek

Examples

utils::data(Exp1_R25_pept, package='DAPARdata')
obj.filter <- StringBasedFiltering2(Exp1_R25_pept[1:100], 'Potential_contaminant', '+')


samWieczorek/DAPAR documentation built on May 6, 2022, 5:30 p.m.