Switch to side-by-side view

--- a
+++ b/OmicsFold/man/merge.feature.stability.1comp.Rd
@@ -0,0 +1,32 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/feature_loadings.R
+\name{merge.feature.stability.1comp}
+\alias{merge.feature.stability.1comp}
+\title{Merge stability onto a data frame of features in a single component DIABLO
+model}
+\usage{
+\method{merge}{feature.stability.1comp}(features, stability)
+}
+\arguments{
+\item{features}{Data frame of top features, e.g. provided by
+get.diablo.top.loadings.1comp().}
+
+\item{stability}{Data frame of feature stability, e.g. provided by
+diablo.selection.stability().}
+}
+\value{
+Data frame combining top features with their measured stability.
+}
+\description{
+Utility function to combine top loading factors extracted from a trained
+multi-omics mixOmics (DIABLO) model with the feature stability, previously
+retrieved from the performance evaluation using e.g.
+diablo.selection.stability and create a nicely formatted data frame.
+Specialised for DIABLO models with a single component, which otherwise
+behaves differently in R's data structures.
+}
+\examples{
+\dontrun{
+merge.feature.stability.1comp(get.diablo.top.loadings.1comp(diablo.tuned.analysis$loadings$metab), diablo.selection.stability(perf.diablo.analysis, comp=1, block=1))
+}
+}