convert_to_factor: Convert metadata to factor

Description Usage Arguments Value

Description

Convert a metadata's variable to factor.

Usage

1
convert_to_factor(dataset, metadata.var)

Arguments

dataset

list representing the dataset from a metabolomics experiment.

metadata.var

name of the metadata's variable.

Value

Returns the dataset with the metadata's variable converted to factor.


specmine documentation built on Sept. 21, 2021, 5:06 p.m.