Spaces:
Running
Running
Arts-of-coding
commited on
Update dash_plotly_QC_scRNA.py
Browse files- dash_plotly_QC_scRNA.py +1 -1
dash_plotly_QC_scRNA.py
CHANGED
@@ -406,7 +406,7 @@ def update_graph_and_pie_chart(batch_chosen, s_chosen, g2m_chosen, condition1_ch
|
|
406 |
# Calculate the mean expression levels for each gene in each region
|
407 |
expression_means = dff_long.group_by(["batch", "Gene"]).agg(pl.mean("Expression"))
|
408 |
|
409 |
-
expression_means = expression_means.select(["batch", "Gene", "Expression"] + condition3_chosen)
|
410 |
|
411 |
fig_pie = px.pie(names=labels, values=values, title=pie_title,template="seaborn")
|
412 |
|
|
|
406 |
# Calculate the mean expression levels for each gene in each region
|
407 |
expression_means = dff_long.group_by(["batch", "Gene"]).agg(pl.mean("Expression"))
|
408 |
|
409 |
+
#expression_means = expression_means.select(["batch", "Gene", "Expression"] + condition3_chosen)
|
410 |
|
411 |
fig_pie = px.pie(names=labels, values=values, title=pie_title,template="seaborn")
|
412 |
|