juzi
Project description
:tangerine: juzi
Various methods for analyzing cell states and types in cancer single-cell sequencing data (currently experimental).
Installation
pip install juzi
cell states (cs)
Identification of recurrent cancer cell states across multiple samples.
import juzi as jz
# Perform NMF across each unique sample
subset = jz.cs.nmf(
adata,
key="sample_id",
layers="counts",
genes="highly_variable",
min_cells=100,
k=[7, 8, 9, 10],
max_iter=1000,
n_jobs=8,
seed=123
)
# Prune recurrent intra-sample factors based on overlapping top genes
jz.cs.prune(
subset,
top_k=50,
min_similarity=0.7,
min_k=1,
n_jobs=1
)
# Compute inter-sample similarity matrix
jz.cs.similarity(
subset,
distance="jaccard",
top_k=50,
intra_sample=True,
drop_zeros=True,
n_jobs=8,
prefer="threads"
)
marker genes (mg)
Various marker genes for cell types, subtypes, and pathways.
from juzi.mg import available_sets
# Check available marker gene sets
print(available_sets())
# Load breast cancer gene sets (e.g. PAM50)
from juzi.mg import CancerBreast
markers = CancerBreast()
# Load cancer pathway gene sets (e.g. HIPPO)
from juzi.mg import CancerPathways
markers = CancerPathways()
# Load cell cycle gene sets (e.g. G1S)
from juzi.mg import CellCycle
markers = CellCycle()
# List available sets in a given marker class
markers.info()
# Get all genes from all sets in a flattened list
markers.all()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
juzi-0.0.17.tar.gz
(13.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
juzi-0.0.17-py3-none-any.whl
(13.8 kB
view details)
File details
Details for the file juzi-0.0.17.tar.gz.
File metadata
- Download URL: juzi-0.0.17.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebcb4bd595e553b86e787a84d4d2510641748594700ddb400cba0ef80fcc3cfa
|
|
| MD5 |
5ad1a18ca3c16af9a39b04e03ed2a127
|
|
| BLAKE2b-256 |
0d426fa3104712fafe26e17ab8ba779be26ef3bcaaf1fbc2dfaf80c8fbb0fe5a
|
File details
Details for the file juzi-0.0.17-py3-none-any.whl.
File metadata
- Download URL: juzi-0.0.17-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c433a3e8ec22a7acf2e799310d6368f36b268f7a42e94394c3c7bd8b34836b44
|
|
| MD5 |
49285102126e84228efe79bc2e0dc2df
|
|
| BLAKE2b-256 |
9fa24fb2d6384e89f858ad1dfcf3fa0c4bec60d2503c3180daae1a6afd74de5c
|