plot_corrections {autonomics}R Documentation

Biplot batch corrections

Description

Biplot batch corrections

Usage

plot_corrections(...)

biplot_corrections(
  object,
  method = "pca",
  color = subgroup,
  covariates = character(0),
  varcols = ceiling(sqrt(1 + length(covariates))),
  plot = TRUE
)

Arguments

...

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?

Value

grid object

See Also

biplot_covariates

Examples

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'))

[Package autonomics version 1.1.7 Index]