a b/OmicsFold/man/get.diablo.top.loadings.Rd
1
% Generated by roxygen2: do not edit by hand
2
% Please edit documentation in R/feature_loadings.R
3
\name{get.diablo.top.loadings}
4
\alias{get.diablo.top.loadings}
5
\title{Get a DIABLO loadings table}
6
\usage{
7
get.diablo.top.loadings(diablo.loadings, feature.count = 20)
8
}
9
\arguments{
10
\item{diablo.loadings}{Loadings from the trained model.}
11
12
\item{feature.count}{The number of top loadings from each component to
13
include.}
14
}
15
\value{
16
A data frame containing the top (by absolute magnitude) factor
17
loadings for the first, then second component, ordered by absolute weight.
18
}
19
\description{
20
Get a dataframe indicating the top ranking loading factors for a trained
21
mixOmics multi-omics DIABLO model for a provided block from the model.
22
}
23
\examples{
24
\dontrun{
25
get.diablo.top.loadings(diablo.tuned.analysis$loadings$metab)
26
}
27
}