plot_corrections {autonomics} | R Documentation |
Biplot batch corrections
plot_corrections(...) biplot_corrections( object, method = "pca", color = subgroup, covariates = character(0), varcols = ceiling(sqrt(1 + length(covariates))), plot = TRUE )
... |
used to maintain deprecated functions |
object |
SummarizedExperiment |
method |
'pca', 'pls', 'lda', or 'sma' |
color |
variable mapped to color (symbol) |
covariates |
covariates to be batch-corrected |
varcols |
number of covariate columns |
plot |
TRUE/FALSE: plot? |
grid object
biplot_covariates
file <- download_data('atkin18.metabolon.xlsx') object <- read_metabolon(file, pca=TRUE, plot = FALSE) biplot_corrections( object, color = Group, covariates = c('SEX', 'T2D', 'SUB', 'SET'))