Arts-of-coding commited on
Commit
1efa7cc
·
verified ·
1 Parent(s): 7c54796

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
@@ -395,7 +395,7 @@ def update_graph_and_pie_chart(batch_chosen, s_chosen, g2m_chosen, condition1_ch
395
 
396
  # Melt wide format DataFrame into long format
397
  # Specify batch column as string type and gene columns as float type
398
- dff_pre = dff.select(["Region","Cdc45","Mcm5"])
399
 
400
  # Melt wide format DataFrame into long format
401
  dff_long = df.melt(id_vars="Region", variable_name="Gene", value_name="Expression")
 
395
 
396
  # Melt wide format DataFrame into long format
397
  # Specify batch column as string type and gene columns as float type
398
+ dff_pre = dff.select(["batch","Cdc45","Mcm5"])
399
 
400
  # Melt wide format DataFrame into long format
401
  dff_long = df.melt(id_vars="Region", variable_name="Gene", value_name="Expression")