getNumberOf: Number of lines with prefix

View source: R/missingValuesFilter.R

getNumberOfR Documentation

Number of lines with prefix

Description

Returns the number of lines, in a given column, where content matches the prefix.

Usage

getNumberOf(obj, name = NULL, prefix = NULL)

Arguments

obj

An object of class MSnSet.

name

The name of a column.

prefix

A string

Value

An integer

Author(s)

Samuel Wieczorek

Examples

utils::data(Exp1_R25_pept, package='DAPARdata')
getNumberOf(Exp1_R25_pept[1:100], "Potential_contaminant", "+")


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