autoPLIER.transform | R Documentation |
Applies the fitted calculation to the created autoPLIER model.
autoPLIER.transform(ap, ...)
ap |
AutoPLIER object. |
... |
Additional arguments for autoPLIER.transform. See details. |
x_predict - Dataset to be transformed into the latent space.
pathways - Pathways dataset.
A dataframe consisting of a number of LV columns as specified by the
n_components
in autoPLIER()
.
# Example datasets xtrain <- read.csv(system.file("extdata", "GSE157103_icu_tpm.csv.xz", package = "autoplieR"), row.names = 1) pwy <- read.csv(system.file("extdata", "pathways.csv.xz", package = "autoplieR"), row.names = 1) # Fit the model mod <- autoPLIER(n_components = 50) mod <- autoPLIER.fit(mod, x_train = xtrain, pathways = pwy, maxepoch=100L, verbose = 0) # Transform df_ap <- autoPLIER.transform(mod, x_predict = xtrain, pathways = pwy)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.