linreg_all_vars: Linear Regression

Description Usage Arguments Value

Description

Performs linear regression analysis over the dataset with the selected metadata's variables.

Usage

1
linreg_all_vars(dataset, metadata.vars, combination)

Arguments

dataset

list representing the dataset from a metabolomics experiment.

metadata.vars

metadata variables to use in linear regression. For example, c('variable1','variable2').

combination

a formula specifying the model. For example, 'variable1+variable2'.

Value

Returns a list where each element is the linear regression result of a variable on the dataset.


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