|
a |
|
b/OmicsFold/man/merge.feature.stability.1comp.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/feature_loadings.R |
|
|
3 |
\name{merge.feature.stability.1comp} |
|
|
4 |
\alias{merge.feature.stability.1comp} |
|
|
5 |
\title{Merge stability onto a data frame of features in a single component DIABLO |
|
|
6 |
model} |
|
|
7 |
\usage{ |
|
|
8 |
\method{merge}{feature.stability.1comp}(features, stability) |
|
|
9 |
} |
|
|
10 |
\arguments{ |
|
|
11 |
\item{features}{Data frame of top features, e.g. provided by |
|
|
12 |
get.diablo.top.loadings.1comp().} |
|
|
13 |
|
|
|
14 |
\item{stability}{Data frame of feature stability, e.g. provided by |
|
|
15 |
diablo.selection.stability().} |
|
|
16 |
} |
|
|
17 |
\value{ |
|
|
18 |
Data frame combining top features with their measured stability. |
|
|
19 |
} |
|
|
20 |
\description{ |
|
|
21 |
Utility function to combine top loading factors extracted from a trained |
|
|
22 |
multi-omics mixOmics (DIABLO) model with the feature stability, previously |
|
|
23 |
retrieved from the performance evaluation using e.g. |
|
|
24 |
diablo.selection.stability and create a nicely formatted data frame. |
|
|
25 |
Specialised for DIABLO models with a single component, which otherwise |
|
|
26 |
behaves differently in R's data structures. |
|
|
27 |
} |
|
|
28 |
\examples{ |
|
|
29 |
\dontrun{ |
|
|
30 |
merge.feature.stability.1comp(get.diablo.top.loadings.1comp(diablo.tuned.analysis$loadings$metab), diablo.selection.stability(perf.diablo.analysis, comp=1, block=1)) |
|
|
31 |
} |
|
|
32 |
} |