Spaces:
Running
Running
Update dash_plotly_QC_scRNA.py
Browse files- dash_plotly_QC_scRNA.py +1 -1
dash_plotly_QC_scRNA.py
CHANGED
@@ -300,7 +300,7 @@ def update_slider_values(min_1, max_1, min_2, max_2, min_3, max_3):
|
|
300 |
|
301 |
def update_graph_and_pie_chart(s_chosen, g2m_chosen, condition1_chosen, condition2_chosen, condition3_chosen, range_value_1, range_value_2, range_value_3): #batch_chosen,
|
302 |
dff = df.filter(
|
303 |
-
(pl.col(condition1_chosen)
|
304 |
(pl.col(col_features) >= range_value_1[0]) &
|
305 |
(pl.col(col_features) <= range_value_1[1]) &
|
306 |
(pl.col(col_counts) >= range_value_2[0]) &
|
|
|
300 |
|
301 |
def update_graph_and_pie_chart(s_chosen, g2m_chosen, condition1_chosen, condition2_chosen, condition3_chosen, range_value_1, range_value_2, range_value_3): #batch_chosen,
|
302 |
dff = df.filter(
|
303 |
+
(pl.col(condition1_chosen)) & #.cast(str).is_in(batch_chosen)
|
304 |
(pl.col(col_features) >= range_value_1[0]) &
|
305 |
(pl.col(col_features) <= range_value_1[1]) &
|
306 |
(pl.col(col_counts) >= range_value_2[0]) &
|