View source: R/batch_correction.R
batch_correct | R Documentation |
Batch Correct This function allows you to Add batch corrected count matrix to the SE object
batch_correct(se, method, assay_to_normalize, batch, group = NULL,
covar, output_assay_name)
se |
SummarizedExperiment object |
method |
Normalization Method |
assay_to_normalize |
Which assay use to do normalization |
batch |
The batch |
group |
The group variable |
covar |
Covariate Matrix |
output_assay_name |
name of results assay |
a summarized experiment object with normalized assay appended
library(scran)
se <- mockSCE()
se <- BatchQC::batch_correct(se, method = "ComBat-Seq",
assay_to_normalize = "counts",
batch = "Mutation_Status",
covar = "Treatment",
output_assay_name =
"ComBat_Seq_Corrected")
se <- BatchQC::batch_correct(se, method = "Combat",
assay_to_normalize = "counts",
batch = "Mutation_Status",
covar = "Treatment",
output_assay_name =
"Combat_Corrected")
se
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.