Apply batch effect with “combat” in wgcna

Apply batch effect with “combat” in wgcna

0

I have 336 samples, with
two conditions of fibrosis and normal ,
and male and female genders ,
and Chinese, Indian, Malay , Caucasian , Bruneian, and not reported nationalities,
I want to apply the batch effect by combat to this study before doing WGCNA.

How do I use the following function?
For example, what should I define as a batch?

ComBat(
   dat,
   batch,
   mod = NULL,
   par.prior = TRUE,
   prior.plots = FALSE,
   mean.only = FALSE,
   ref.batch = NULL,
   BPPARAM = bpparam("SerialParam")
 ) 

Thank you for your help


combat


R


effect


batch


wgcna

• 27 views

updated 1 hour ago by

10k

written 2 hours ago by

0

Read more here: Source link