getNumberOf {DAPAR}R 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

require(DAPARdata)
data(Exp1_R25_pept)
getNumberOf(Exp1_R25_pept, "Potential.contaminant", "+")

[Package DAPAR version 1.16.10 Index]