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

Update dash_plotly_QC_scRNA.py

Browse files
Files changed (1) hide show
  1. dash_plotly_QC_scRNA.py +3 -0
dash_plotly_QC_scRNA.py CHANGED
@@ -373,7 +373,10 @@ 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, descending=True)
 
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
+
377
+ # Order the dataframes on ascending categories
378
  expression_means = expression_means.sort(col_chosen, descending=True)
379
+ dff = dff.sort(col_chosen, descending=True)
380
 
381
  #expression_means = expression_means.select(["batch", "Gene", "Expression"] + condition3_chosen)
382