MHH-RCUG / scrnaseq_app

UNDER DEVELOPMENT: Shiny app for visualisation of scRNASeq data
2 stars 4 forks source link

subscript out of bounds during gene selection #28

Closed dimialex closed 3 years ago

dimialex commented 4 years ago

Hi again, is there a maximum number of genes to be selected? After loading the 7th gene of interest (LINC01342), I get the following error:

Warning: Error in [[: subscript out of bounds
  174: strsplit
  167: renderPlot [/scrnaseq_app_test/scrnaseq_app-0.0.1/scrnaseq_app.R#232]
  165: func
  125: drawPlot
  111: 
   95: drawReactive
   82: origRenderFunc
   81: output$plot_feature2
    1: runApp
Warning: Could not find LINC01342 in the default search locations, found in RNA assay instead
Warning: Could not find LINC01342 in the default search locations, found in RNA assay instead
Warning: Could not find LINC01342 in the default search locations, found in RNA assay instead
Warning: Could not find LINC01342 in the default search locations, found in RNA assay instead

I am using the current initial release, but now see there were 13 commits to master since this release. Best, Dimitra

mariusrueve commented 4 years ago

I've tested this with 16 selected genes and it didn't crash. I only got the message Warning: Could not find AC105942.1 in the default search locations, found in RNA assay instead several times, but after a while, when everything was plotted it stopped.

I've made some changes to the creation and storage of the plots. Maybe that's why it didn't crash for me.