A transcriptional response predictor for unseen genetic perturbtions with LLM embeddings
Project description
Scouter: a transcriptional response predictor for unseen genetic perturbtions with LLM embeddings
Scouter is a deep neural network with simple architecture, for the task of predicting transcriptional response to unseen genetic perturbtions.
Scouter employs the LLM embeddings generated from text description of genes, enabling the perdiction on unseen genes.
For more details read our manuscript
Installation
pip install scouter-learn
Main API
Below is an example that includes main APIs to train Scouter on a perturbation dataset.
from scouter import Scouter, ScouterData
# please prepare the gene expression data (adata) and gene embedding dataframe (embd)
pertdata = ScouterData(adata=adata, embd=embd)
pertdata.setup_ad('embd_index')
# Model Training
scouter_model = Scouter(pertdata)
scouter_model.model_init()
scouter_model.train()
# Prediction
scouter_model.precit('GeneA+ctrl')
Demos
| Name | Description |
|---|---|
| Model Tutorial | A detailed tutorial on how to use Scouter on Adamson dataset, including preprocessing, paramter setting, model evaluation |
| Unmatched Genes Tutorial | A tutorial that illustrates the problem of unmatched genes between adata and embd, and provides a remedy. |
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
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
File details
Details for the file scouter_learn-0.1.8.tar.gz.
File metadata
- Download URL: scouter_learn-0.1.8.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cdba6d108eb1d48d1ae2806ac73010625075ae55e8a732177a90dd85acbbe6a
|
|
| MD5 |
174e3bee6a311b720c5ec30d4c5e90ec
|
|
| BLAKE2b-256 |
3edb061882fc3b9119c6806cc21e66b9613ed44a0079c2d5eda5b1864d454f04
|
File details
Details for the file scouter_learn-0.1.8-py3-none-any.whl.
File metadata
- Download URL: scouter_learn-0.1.8-py3-none-any.whl
- Upload date:
- Size: 14.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d96a79928eb0a7bfe892d6681340f706c768a430aebbd1b27ddc36850427cf5
|
|
| MD5 |
458dd22f4c9108bd2bacf990399bfab8
|
|
| BLAKE2b-256 |
e04b799eaab71a2f4e4b705fc7b692ac3851d7f76d301a74e144e2c7a08b25b3
|