abuendia commited on
Commit
f38ffad
1 Parent(s): f6634e5

Fix motif heatmap

Browse files
Files changed (1) hide show
  1. app/main.py +2 -2
app/main.py CHANGED
@@ -156,11 +156,11 @@ def plot_gene_exp(cell, plotly=True):
156
 
157
  def plot_motif_corr(cell):
158
  fig = Clustergram(
159
- data=cell.gene_by_motif.corr,
160
  column_labels=list(cell.gene_by_motif.corr.columns.values),
161
  row_labels=list(cell.gene_by_motif.corr.index),
162
  hidden_labels=["row", "col"],
163
- link_method="ward",
164
  display_ratio=0.1,
165
  width=600,
166
  height=350,
 
156
 
157
  def plot_motif_corr(cell):
158
  fig = Clustergram(
159
+ data=cell.gene_by_motif.corr.values,
160
  column_labels=list(cell.gene_by_motif.corr.columns.values),
161
  row_labels=list(cell.gene_by_motif.corr.index),
162
  hidden_labels=["row", "col"],
163
+ # link_method="ward",
164
  display_ratio=0.1,
165
  width=600,
166
  height=350,