combat_met error: mu_hat_mat[, batches_ind[[jj]]] : subscript out of bounds
0
0
Entering edit mode
20 days ago

I am running combat_met on a dataset with 43 samples and 2 conditions. The M-value matrix has 889341 probes and 43 samples. I try running combat_met

adj_bv_mat <- ComBat_met(mValues, dtype = "M-value", batch = batch, group = group, full_mod = TRUE,ncores = 4)

Found 2 batches and 43 samples. Using full model in ComBat-met.

Adjusting for 1 covariate(s) or covariate level(s). Found 6900026 missing data values Fitting the GLM model Found 19016 features with zero model variance;

these features won't be adjusted for batch effects. Errors encountered in 0 features with model fitting;

these features won't be adjusted for batch effects. Found 870325 features with zero model variance within at least one batch;

these features won't be adjusted for batch effects. Shrinkage off - using GLM estimates for parameters Error in

mu_hat_mat[, batches_ind[[jj]]] : subscript out of bounds

Any suggestions? (I have run combat_met successfully on a subset of 31 samples of this data)

combat_met epigenetics • 800 views
ADD COMMENT
0
Entering edit mode

Can you share the output of str(mValues)?

ADD REPLY

Login before adding your answer.

Traffic: 3556 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6