tanaylab / metacell

Metacell - Single-cell mRNA Analysis
https://tanaylab.github.io/metacell
Other
108 stars 30 forks source link

mcell_mc_from_coclust_balanced error #51

Closed jleandroj closed 3 years ago

jleandroj commented 3 years ago

Hi,

I am running this function mcell_mc_from_coclust_balanced with your data. I am getting this error:

Error in thresh_K[as.numeric(names(thresh_Kr))] <- thresh_Kr : NAs are not allowed in subscripted assignments In addition: Warning message: In mcell_coclust_filt_by_k_deg(coc_id, K, alpha) : NAs introduced by coercion

Could you help me, please?

akhiadber commented 3 years ago

This seems to be a problem with R version 4.1.0 that is causing the as.numeric function on the cell names to return NAs. I'm not sure yet what changed, @jleandroj please specifiy your R version, system and any other loaded packages so we can find the issue.

akhiadber commented 3 years ago

This issue should be solved now