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

data(Exp1_R25_pept, package="DAPARdata")
getNumberOf(Exp1_R25_pept[seq_len(100)], "Potential_contaminant", "+")


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