Spaces:
Sleeping
Sleeping
don't map to the size
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ chart_data = pd.DataFrame({
|
|
71 |
"expression_1": np.log10(estimated_expression.loc[h99_transcript_annotations["gene_id"] == gene_id_1].to_numpy()[0] + 1),
|
72 |
"expression_2": np.log10(estimated_expression.loc[h99_transcript_annotations["gene_id"] == gene_id_2].to_numpy()[0] + 1),
|
73 |
"run_accession": estimated_expression.columns})
|
74 |
-
chart_data.merge(
|
75 |
right = estimated_expression_meta,
|
76 |
on = "run_accession")
|
77 |
|
@@ -81,7 +81,6 @@ chart = (
|
|
81 |
.encode(
|
82 |
x="expression_1",
|
83 |
y="expression_2",
|
84 |
-
size=5,
|
85 |
color="study_accession",
|
86 |
tooltip=["run_accession", "study_accession"]))
|
87 |
|
|
|
71 |
"expression_1": np.log10(estimated_expression.loc[h99_transcript_annotations["gene_id"] == gene_id_1].to_numpy()[0] + 1),
|
72 |
"expression_2": np.log10(estimated_expression.loc[h99_transcript_annotations["gene_id"] == gene_id_2].to_numpy()[0] + 1),
|
73 |
"run_accession": estimated_expression.columns})
|
74 |
+
chart_data = chart_data.merge(
|
75 |
right = estimated_expression_meta,
|
76 |
on = "run_accession")
|
77 |
|
|
|
81 |
.encode(
|
82 |
x="expression_1",
|
83 |
y="expression_2",
|
|
|
84 |
color="study_accession",
|
85 |
tooltip=["run_accession", "study_accession"]))
|
86 |
|