Skip to content

Commit

Permalink
update tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaddam committed Nov 11, 2021
1 parent 19c60d1 commit 317c417
Show file tree
Hide file tree
Showing 3 changed files with 137 additions and 154 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ To install Tangram, make sure you have [PyTorch](https://pytorch.org/) and [scan
```
* install tangram-sc from shell:
```
conda activate tangram-env
pip install tangram-sc
```
* import tangram
* To start using Tangram, import tangram in your jupyter notebooks or/and scripts
```
import tangram as tg
```
Expand Down
4 changes: 2 additions & 2 deletions tangram/plot_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def plot_cell_annotation_sc(
x="x",
y="y",
spot_size=None,
scale_factor=None,
scale_factor=0.1,
perc=0,
ax=None
):
Expand Down Expand Up @@ -317,7 +317,7 @@ def plot_genes_sc(
x="x",
y = "y",
spot_size=None,
scale_factor=None,
scale_factor=0.1,
cmap="inferno",
perc=0,
return_figure=False
Expand Down
284 changes: 133 additions & 151 deletions tangram_tutorial.ipynb

Large diffs are not rendered by default.

0 comments on commit 317c417

Please sign in to comment.