zhangyuqing / ComBat-seq

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

no data rows with required number of counts #40

Open Chenjlin28 opened 10 months ago

Chenjlin28 commented 10 months ago

Hi, I hope to apply ComBat_seq to my microbial otu table, my table has 214 cols and 6663 rows, but when I put it in the command below it return 'no data rows with required number of counts'. If there is anyone who could help me check with it, Is there something going wrong with my data? It's all numeric and have some 0 inside.

`> nrow(a) [1] 6663

adjusted_counts <- ComBat_seq(a, batch=metadata$Souce, group=NULL, full_mod=FALSE) Found 3 batches Using null model in ComBat-seq. Adjusting for 0 covariate(s) or covariate level(s) Estimating dispersions Error in dispCoxReid(y, design = design, offset = offset, subset = subset, : no data rows with required number of counts`

I will appreciate any help!