Description Usage Arguments Value References Examples
View source: R/eigenMetabolites.R
Calculate eigenmetabolites as representatives
1  | eigenMetabolites(data, group = NULL, method = "PCA")
 | 
data | 
 a   | 
group | 
 A list containing the grouping (e.g. pathways) of the variables.
If this is   | 
method | 
 the method for calculating eigenmetabolites. Currently PCA and SVD are supported.  | 
list of two, M: data.table of eigenscores,
expvar: full lists of explained variances
Langfelder2007MoDentify
1 2 3 4 5 6 7  | data(qmdiab.data)
data(qmdiab.annos)
eigen.data <- eigenMetabolites(
  data = qmdiab.data,
  group = qmdiab.annos$Sub.pathway, method = "PCA"
)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.