zhangyuqing / ComBat-seq

Batch effect adjustment based on negative binomial regression for RNA sequencing count data
154 stars 39 forks source link

ComBat-seq doesn't support 1 sample per batch yet #37

Open jianwu1 opened 1 year ago

jianwu1 commented 1 year ago

Hi @zhangyuqing,

I have RNAseq data from 3 batches: c("3", "1", "2", "1", "2") but batch3 only has one sample. When running ComBat_seq, it gives error:

Screen Shot 2023-05-28 at 8 04 11 am

Can I ask if it's possible for ComBat_seq to support one sample per batch?

Best wishes,

Jian