Skip to content

Commit

Permalink
added gene_adata to list of adatas to assign colors to
Browse files Browse the repository at this point in the history
  • Loading branch information
fairliereese committed Jan 18, 2023
1 parent 325bc11 commit 0acbb9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions swan_vis/swangraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -2306,6 +2306,8 @@ def set_metadata_colors(self, obs_col, cmap):
self.tss_adata.uns['{}_dict'] = cmap
self.tes_adata.uns['{}_colors'.format(obs_col)] = sample_colors
self.tes_adata.uns['{}_dict'] = cmap
self.gene_adata.uns['{}_colors'.format(obs_col)] = sample_colors
self.gene_adata.uns['{}_dict'] = cmap

def plot_graph(self, gid,
indicate_dataset=False,
Expand Down

0 comments on commit 0acbb9c

Please sign in to comment.