Arts-of-coding commited on
Commit
0174f81
·
verified ·
1 Parent(s): 84b6b63

Update dash_plotly_QC_scRNA.py

Browse files
Files changed (1) hide show
  1. dash_plotly_QC_scRNA.py +1 -1
dash_plotly_QC_scRNA.py CHANGED
@@ -373,7 +373,7 @@ def update_graph_and_pie_chart(col_chosen, s_chosen, g2m_chosen, condition1_chos
373
  # Final part to join the percentage expressed and mean expression levels
374
  # TO DO
375
  expression_means = expression_means.join(dff_5, on=[col_chosen,"Gene"], how="inner")
376
- expression_means = expression_means.sort(col_chosen)
377
 
378
  #expression_means = expression_means.select(["batch", "Gene", "Expression"] + condition3_chosen)
379
 
 
373
  # Final part to join the percentage expressed and mean expression levels
374
  # TO DO
375
  expression_means = expression_means.join(dff_5, on=[col_chosen,"Gene"], how="inner")
376
+ expression_means = expression_means.sort(col_chosen, descending=True)
377
 
378
  #expression_means = expression_means.select(["batch", "Gene", "Expression"] + condition3_chosen)
379