help with multiple batch effects

Hello, I have an expression matrix of 1208 samples (1095 tumor and 113 normal) downloaded from TCGA. I know there are 3 batch effects: type, plateId and TSS. These batches are suggested from [login to view URL] . I've tried to correct for them with Combat but I need a little help with the model.matrix.

This is my code:

batch<[login to view URL](cbind(samples,plateId,group,TSS),[,-1]

##correct for group: group is 01 for tumor and 11 for normal

mod.1<- [login to view URL](~plateId+TSS, data=batch)

bat.1<- ComBat(dat=dati, batch$group, mod.1, [login to view URL] = TRUE, par.prior=TRUE, prior.plots=FALSE)

##correct for plateId

mod.2<- [login to view URL](~group+TSS, data=batch)

bat.2<- ComBat(dat=bat.1, batch$plateId, mod.2, [login to view URL] = TRUE,par.prior=TRUE, prior.plots=FALSE)

##correct for TSS

mod.3<- [login to view URL](~group+plateId, data=batch)

bat.3<- ComBat(dat=bat.2, batch$TSS, mod.3, [login to view URL] = TRUE,par.prior=TRUE, prior.plots=FALSE)

Evner: Programming

Se mere: batch effect correction, combat batch effect tutorial, combat batch effect, batch effect removal methods, remove batch effect r, pca batch effect, combat multiple batches, use batch file install multiple programs, batch file install multiple exe, batch file install multiple programs, create batch file install multiple programs, know links need, zen cart shipping multiple items help, please let know little bit think choose project, fixed effects help stata, know information need caller, need rewrite correct article, help vote multiple, need writing correct aac object type, know little german translation

Om arbejdsgiveren:
( 0 bedømmelser ) ALGHERO, Italy

Projekt ID: #17253754