Spaces:
Running
Running
Update dash_plotly_QC_scRNA.py
Browse files- dash_plotly_QC_scRNA.py +1 -1
dash_plotly_QC_scRNA.py
CHANGED
@@ -393,7 +393,7 @@ def update_graph_and_pie_chart(batch_chosen, s_chosen, g2m_chosen, condition1_ch
|
|
393 |
|
394 |
# Calculate the mean expression
|
395 |
round_precision = 2
|
396 |
-
for i in
|
397 |
category_means = dff.group_by(i).agg(pl.col(i).count().alias("count"))
|
398 |
category_sums = dff.group_by(i).agg(pl.col(i).sum().alias("sum"))
|
399 |
total_count = len(dff)
|
|
|
393 |
|
394 |
# Calculate the mean expression
|
395 |
round_precision = 2
|
396 |
+
for i in ["Cdc45","Uhrf1","Mcm2","Slbp","Mcm5","Pola1","Gmnn","Cdc6","Rrm2","Atad2"]:
|
397 |
category_means = dff.group_by(i).agg(pl.col(i).count().alias("count"))
|
398 |
category_sums = dff.group_by(i).agg(pl.col(i).sum().alias("sum"))
|
399 |
total_count = len(dff)
|