Arts-of-coding commited on
Commit
729cd33
·
verified ·
1 Parent(s): 674cff8

Update dash_plotly_QC_scRNA.py

Browse files
Files changed (1) hide show
  1. dash_plotly_QC_scRNA.py +2 -2
dash_plotly_QC_scRNA.py CHANGED
@@ -37,7 +37,7 @@ def read_config(filename):
37
 
38
  config = read_config(config_path)
39
  path_parquet = config.get("path_parquet")
40
- #conditions = config.get("conditions")
41
  col_features = config.get("col_features")
42
  col_counts = config.get("col_counts")
43
  col_mt = config.get("col_mt")
@@ -72,7 +72,7 @@ max_value_3 = round(max_value_3, 1)
72
 
73
  # Note: Future version perhaps all values from a column in the dataframe of the parquet file
74
  # Note 2: This could also be a tsv of the categories and own specified colors
75
- conditions = df[condition1_chosen].unique().tolist()
76
  # Create the first tab content
77
  # Add Sliders for three QC params: N genes by counts, total amount of reads and pct MT reads
78
 
 
37
 
38
  config = read_config(config_path)
39
  path_parquet = config.get("path_parquet")
40
+ col_batch = config.get("col_batch")
41
  col_features = config.get("col_features")
42
  col_counts = config.get("col_counts")
43
  col_mt = config.get("col_mt")
 
72
 
73
  # Note: Future version perhaps all values from a column in the dataframe of the parquet file
74
  # Note 2: This could also be a tsv of the categories and own specified colors
75
+ conditions = df[col_batch].unique().tolist()
76
  # Create the first tab content
77
  # Add Sliders for three QC params: N genes by counts, total amount of reads and pct MT reads
78