Skip to content

Commit b483215

Browse files
fix R setup
1 parent fa084d2 commit b483215

File tree

3 files changed

+7
-47
lines changed

3 files changed

+7
-47
lines changed

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
Poetry can be used for development. Yet, it will not include R. To train models, use the conda setup below.
1212

13+
At the root of the repository, run the following command line:
14+
1315
```sh
1416
poetry install --all-extras
1517
```
@@ -18,7 +20,10 @@ poetry install --all-extras
1820

1921
For some algorithms (e.g., STAGATE/SEDR), R might be needed for clustering.
2022

23+
At the root of the repository, run the following command lines:
24+
2125
```sh
26+
conda create -n novae_benchmark python=3.10 -y
2227
pip install -e .
23-
conda install conda-forge::r-mclust
28+
conda install -c conda-forge r-base rpy2 r-mclust
2429
```

poetry.lock

+1-45
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ scanpy = ">=1.9.8"
1111
lightning = ">=2.2.1"
1212
torch = ">=2.2.1"
1313
torch-geometric = ">=2.5.2"
14-
rpy2 = "^3.5.16"
1514

1615
[tool.poetry.group.dev.dependencies]
1716
black = ">=22.8.0"

0 commit comments

Comments
 (0)