Skip to content

Commit 1d4ede7

Browse files
committed
Major renaming
1 parent 0d85c4e commit 1d4ede7

29 files changed

+177
-177
lines changed

.github/workflows/python-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set up Python
2626
uses: actions/setup-python@v3
2727
with:
28-
python-version: '3.8'
28+
python-version: '3.10'
2929
- name: Install dependencies
3030
run: |
3131
python -m pip install --upgrade pip

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<p align="center"><a href="https://sclitr.readthedocs.io/en/latest/"><img src="docs/source/logo.png" height="150"></a></p>
1+
<p align="center"><a href="https://clone2vec.readthedocs.io/en/latest/"><img src="docs/source/logo.png" height="150"></a></p>
22

33
# clone2vec
44

5-
![Tests](https://github.com/kharchenkolab/scLiTr/actions/workflows/tests.yml/badge.svg)
6-
![PyPI](https://img.shields.io/pypi/v/sclitr)
5+
![Tests](https://github.com/kharchenkolab/clone2vec/actions/workflows/tests.yml/badge.svg)
6+
![PyPI](https://img.shields.io/pypi/v/clone2vec)
77
![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)
88

99
clone2vec is a Python package for analysis of lineage tracing coupled with single-cell RNA-Seq.
@@ -21,13 +21,13 @@ will be used as embedding for further analysis.
2121

2222
## Benchmarking illustrations
2323

24-
See [Technical Note](https://github.com/kharchenkolab/scLiTr/blob/main/docs/Technical_note.pdf) for more details.
24+
See [Technical Note](https://github.com/kharchenkolab/clone2vec/blob/main/docs/Technical_note.pdf) for more details.
2525

2626
## Installation
2727

2828
clone2vec might be installed via `pip` (takes 1-2 minutes on Google Colab):
2929
```bash
30-
pip install sclitr
30+
pip install clone2vec
3131
```
3232
or the latest development version can be installed from GitHub using:
3333
```bash
@@ -45,5 +45,5 @@ on the following systems:
4545

4646
## Documentation and tutorials
4747

48-
Please visit [documentation web-site](https://sclitr.readthedocs.io/en/latest/) to check out API description and a few
48+
Please visit [documentation web-site](https://clone2vec.readthedocs.io/en/latest/) to check out API description and a few
4949
tutorials with analysis.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def _prepare_pools(
124124
validation_key = adata.uns["gs"]["obs_key"]
125125
validation_value = adata.uns["gs"]["keys"]["validation"]
126126
except:
127-
raise ValueError("gs_key not found in adata.uns. Please run sl.tl.gs() or set validation_key and validation_value.")
127+
raise ValueError("gs_key not found in adata.uns. Please run c2v.tl.gs() or set validation_key and validation_value.")
128128
else:
129129
validation_key = adata.uns[gs_key]["obs_key"]
130130
validation_value = adata.uns[gs_key]["keys"]["validation"]
@@ -298,7 +298,7 @@ def catboost(
298298
obsm_key : str
299299
Key in `adata.obsm` to use for the response variable.
300300
gs_key : str | None, optional
301-
Key in `adata.obs` with `sl.tl.gs()` parameters. Default is None.
301+
Key in `adata.obs` with `c2v.tl.gs()` parameters. Default is None.
302302
validation_key : str | None, optional
303303
Key in `adata.obs` to use for the train/validation split. If None, reconstructed from
304304
the adata.uns[gs_key]. Default is None.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -768,7 +768,7 @@ def clone2vec_Poi(
768768

769769
start = logg.info("fitting clone2vec_Poi embeddings")
770770
if obsp_key not in clones.obsp:
771-
raise KeyError(f"Graph '{obsp_key}' not found in clones.obsp. Did you run `sl.tl.clonal_nn(adata, clones)` before?")
771+
raise KeyError(f"Graph '{obsp_key}' not found in clones.obsp. Did you run `c2v.tl.clonal_nn(adata, clones)` before?")
772772

773773
start_time = time.time()
774774

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2076,7 +2076,7 @@ def predictors_comparison(
20762076
try:
20772077
df = shapdata.varm["signed_mean_shap"]
20782078
except KeyError:
2079-
raise KeyError("varm['signed_mean_shap'] not found. Please run sl.utils.correct_shap() first with flags `normalize=False` and `correct_sign=True`.")
2079+
raise KeyError("varm['signed_mean_shap'] not found. Please run c2v.utils.correct_shap() first with flags `normalize=False` and `correct_sign=True`.")
20802080
else:
20812081
logg.warning(f"We expect sign-corrected and not normalized by maximum value SHAPs in varm['{varm_key}'].")
20822082
df = shapdata.varm[varm_key]
@@ -2445,7 +2445,7 @@ def catboost_perfomance(
24452445
from .associations import _fast_corr
24462446

24472447
if "catboost_info" not in shapdata.uns.keys():
2448-
raise ValueError("catboost_info not found in shapdata.uns. Please, run `sl.tl.catboost()` first.")
2448+
raise ValueError("catboost_info not found in shapdata.uns. Please, run `c2v.tl.catboost()` first.")
24492449

24502450
obsm_key = shapdata.uns["catboost_info"]["obsm_key"]
24512451
fates_used = shapdata.uns["catboost_info"]["fates_used"]

0 commit comments

Comments
 (0)