scoremat | R Documentation |
Extract scores/loadings
scoremat(object, method = "pca", by = biplot_by(object, method), dim = 1:2)
scores(object, method = "pca", by = biplot_by(object, method), dim = 1)
loadingmat(object, method = "pca", by = biplot_by(object, method), dim = 1:2)
loadings(object, method = "pca", by = biplot_by(object, method), dim = 1)
object |
SummarizedExperiment |
method |
'pca', 'pls', etc. |
by |
svar (string) |
dim |
numeric vector |
file <- system.file('extdata/atkin.metabolon.xlsx', package = 'autonomics')
object <- read_metabolon(file)
object %<>% pca()
scores(object)[1:2]
loadings(object)[1:2]
scoremat(object)[1:2, ]
loadingmat(object)[1:2, ]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.