featureSubset: featureSubset()

View source: R/17_featureSubset.R

featureSubsetR Documentation

featureSubset()

Description

Replaces zeros in the romics_object by NA values

Usage

featureSubset(romics_object, feature_list = c("feature1", "feature2", "etc"))

Arguments

romics_object

has to be an romics_object created using romicsCreateObject()

feature_list

has to be a character vector containing features to be extracted

Details

This function will create a new romics object in which only the features contained in the feature_list are contained.

The function supports partial matches and allows the features from the feature list not to be present in the romics_object

Value

This function returns an romics_object

Author(s)

Geremy Clair


PNNL-Comp-Mass-Spec/RomicsProcessor documentation built on March 18, 2023, 5:14 a.m.