summarize_features: Summarize mSet by a feature variable

Description Usage Arguments Value Author(s)

View source: R/Methods-mSet.R

Description

This function takes the conc_table of a mSet object, groups features by a given feature variable, calculate the sum of each feature in each group, and return a summarized mSet object.

Usage

1
summarize_features(object, feature_var)

Arguments

object

An mSet-class object

feature_var

An character variable, must from the column names of the feature_data slot. Length must be 1.

Value

An mSet-class object

Author(s)

Chenghao Zhu


zhuchcn/Metabase documentation built on July 23, 2019, 1:36 p.m.