getNumberOf: Number of lines with prefix

Description Usage Arguments Value Author(s) Examples

View source: R/missingValuesFilter.R

Description

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

Usage

1
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

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

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