detectModellingParameters | R Documentation |
Detect suitable modelling parameters for Binalysis
, MetaboProfile
or Analysis
S4 classes.
detectModellingParameters(x, ...)
## S4 method for signature 'Binalysis'
detectModellingParameters(x)
## S4 method for signature 'MetaboProfile'
detectModellingParameters(x)
## S4 method for signature 'Analysis'
detectModellingParameters(x, type = "pre-treated", cls = "class")
x |
an object of S4 class |
... |
arguments to pass to the appropriate method |
type |
detect modelling parameters for |
cls |
sample information column to use as the response for modelling |
and object of S4 class AnalysisParameters
## Retrieve file paths and sample information for example data
files <- metaboData::filePaths('FIE-HRMS','BdistachyonEcotypes')
info <- metaboData::runinfo('FIE-HRMS','BdistachyonEcotypes')
## Perform spectral binning
analysis <- binneR::binneRlyse(files,
info,
parameters = binneR::detectParameters(files))
## Detect modelling parameters
modelling_parameters <- detectModellingParameters(analysis)
modelling_parameters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.