Skip to content

Commit 317c417

Browse files
author
Gaddam
committed
update tutorial
1 parent 19c60d1 commit 317c417

File tree

3 files changed

+137
-154
lines changed

3 files changed

+137
-154
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ To install Tangram, make sure you have [PyTorch](https://pytorch.org/) and [scan
2727
```
2828
* install tangram-sc from shell:
2929
```
30+
conda activate tangram-env
3031
pip install tangram-sc
3132
```
32-
* import tangram
33+
* To start using Tangram, import tangram in your jupyter notebooks or/and scripts
3334
```
3435
import tangram as tg
3536
```

tangram/plot_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def plot_cell_annotation_sc(
178178
x="x",
179179
y="y",
180180
spot_size=None,
181-
scale_factor=None,
181+
scale_factor=0.1,
182182
perc=0,
183183
ax=None
184184
):
@@ -317,7 +317,7 @@ def plot_genes_sc(
317317
x="x",
318318
y = "y",
319319
spot_size=None,
320-
scale_factor=None,
320+
scale_factor=0.1,
321321
cmap="inferno",
322322
perc=0,
323323
return_figure=False

tangram_tutorial.ipynb

Lines changed: 133 additions & 151 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)