loadFeatureFile: Feature set loader.

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Loads a mass spectrometry feature set, containing found features, into memory as a FeatureMap object. The feature file must be in featureXML (OpenMS) format.

Usage

1
loadFeatureFile(filePath)

Arguments

filePath

The location of the featureXML file, as a string.

Value

The in-memory representation of the feature set, as a FeatureMap.

Examples

1
2
3
4
5
## Not run: 
featureSet <- loadFeatureFile("inst/extdata/featureSetA.featureXML")
featureSet$size()  # Returns 720

## End(Not run)

ychen-uoft/msFeatureCmp documentation built on Dec. 23, 2021, 7:17 p.m.