structuralClassifications | R Documentation |
Accessor methods for the StructuralEnrichment
S4 class.
structuralClassifications(x)
## S4 method for signature 'StructuralEnrichment'
structuralClassifications(x)
## S4 method for signature 'StructuralEnrichment'
explanatoryFeatures(x)
## S4 method for signature 'StructuralEnrichment'
enrichmentResults(x)
x |
object of S4 class |
A tibble containing the accessed information.
## Perform random forest on the example data
random_forest <- assigned_data %>%
metabolyseR::randomForest(
cls = 'class'
)
## Perform functional enrichment analysis
enrichment_results <- structuralEnrichment(
random_forest,
structural_classifications
)
## The m/z feature structural classifcations
structuralClassifications(enrichment_results)
## Access the explanatory features used for structural enrichment analysis
explanatoryFeatures(enrichment_results)
## Access the structral enrichment analysis results
enrichmentResults(enrichment_results)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.