tanaylab / metacell

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

Error in `mcell_mc_plot_hierarchy` #60

Open tomgome opened 3 years ago

tomgome commented 3 years ago

I followed the vignette and when I reached its final part of visualizing the MC confusion matrix I got the following error:

Error in quantile.default(confu_n, 1 - 3/nrow(confu_n)): missing values and NaN's not allowed if 'na.rm' is FALSE Traceback:

  1. mcell_mc_plot_hierarchy(mc_id = "Multiome_mc_f", graph_id = "Multiome_graph", . mc_order = mc_hc$order, sup_mc = mc_sup, width = 2800, heigh = 2000, . min_nmc = 2)
  2. pmin(confu_n, quantile(confu_n, 1 - 3/nrow(confu_n))) # at line 249 of file /net/mraid14/export/data/users/atanay/proj/metacell/metacell/R/mc_hierarchy.r
  3. quantile(confu_n, 1 - 3/nrow(confu_n)) # at line 249 of file /net/mraid14/export/data/users/atanay/proj/metacell/metacell/R/mc_hierarchy.r
  4. quantile.default(confu_n, 1 - 3/nrow(confu_n))
  5. stop("missing values and NaN's not allowed if 'na.rm' is FALSE")