sva_correction: sva Correction This function applies sva correction to a...

View source: R/batch_correction.R

sva_correctionR Documentation

sva Correction This function applies sva correction to a summarized experiment object (implementation adapted from sva::psva)

Description

sva Correction This function applies sva correction to a summarized experiment object (implementation adapted from sva::psva)

Usage

sva_correction(
  se,
  assay_to_normalize,
  var_of_interest,
  covar,
  output_assay_name
)

Arguments

se

SummarizedExperiment object

assay_to_normalize

string; name of assay that should be corrected

var_of_interest

string; name of experimental variable of interest

covar

list; sting list of covariates to include in sva analysis

output_assay_name

string; name of results assay

Value

SE object with an added sva corrected array


compbiomed/BatchQC documentation built on June 10, 2025, 8:32 p.m.