feature_data: Construct or access a feature_data object

Description Usage Arguments Value Author(s) See Also

View source: R/Class-mSet.R

Description

This is the method to either access the feature data slot from a mSet-class object, or construct a feature-data-class object from a data frame. When use it as an assessing method, a feature_data-class object is returned. When use it as a construction method, a matrix is required.

Usage

1
2
3
4
feature_data(object)

## S4 method for signature 'mSet'
feature_data(object)

Arguments

object

This is a data frame of the feature data from a quantitative experiment to as a constructor. Features should be in rows. And a mSet object as an assessor.

Value

A feature_table-class object

Author(s)

Chenghao Zhu

See Also

feature_data-class


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