tanaylab / metacell

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

code error in gstats.r #68

Open saynHuang opened 2 years ago

saynHuang commented 2 years ago

Line 125: is_on_count = matrixStats::rowCounts(mat_ds_gi > 0), Line 126: ds_is_on_count = matrixStats::rowCounts(mat_ds_gi > 0), The calculation result of these two lines is the same. Should "mat_ds_gi" on line 125 be changed to "mat_gi"?

saynHuang commented 2 years ago

And the function scm_gene_stat() on line 67 receives the parameter "downsample_n", but it is reassigned on line 96