vallotlab / ChromSCape

ChromSCape
https://vallotlab.github.io/ChromSCape/
14 stars 8 forks source link

Error when adding 'gene' feature to 50k feature and running 'Filter, Normalize & Reduce' #4

Open Pacomito opened 2 years ago

Pacomito commented 2 years ago

3 Samples in 50k : T_460684H_H3K27me3_50000 SA_AD1766_H3K27me3_50000 SA_AG5988_H3K27me3_50000

Samples are sparse matrices & have same names for 50kbp and feature Adding the gene features worked fine but the bug occured when clicking on 'Filter, Normalize & Reduce' with the features 'gene' selected (fitering only features).

Warning: Error in $<-.data.frame: replacement has 1016 rows, data has 1771
  86: stop
  85: $<-.data.frame
  83: num_cell_after_QC_filt_scExp
  82: output$num_cell_after_QC_filt [/home/pprompsy/R/x86_64-pc-linux-gnu-library/4.1/ChromSCape/server.R#946]
   2: shiny::runApp
   1: launchApp
[1] "Data loading..."
Running on alternative experiment :gene
Timing stopped at: 0.004 0 0.004
Warning: Error in h: error in evaluating the argument 'x' in selecting a method for function 'print': ChromSCape::create_scExp - datamatrix and annot should containthe same number of cells
  2: shiny::runApp