Skip to contents

Subsets a matrix of markers by specific terms

Usage

subsetMarkers(object, fcol = "GOAnnotations", keep)

Arguments

object

An instance of class MSnSet.

fcol

The name of the markers matrix. Default is GOAnnotations.

keep

Integer or character vector specifying the columns to keep in the markers matrix, as defined by fcol.

Value

An updated MSnSet

See also

addGoAnnotations and example therein.

Author

Lisa M Breckels