Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scouter-learn-0.1.3.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scouter_learn-0.1.3-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file scouter-learn-0.1.3.tar.gz.

File metadata

  • Download URL: scouter-learn-0.1.3.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.0

File hashes

Hashes for scouter-learn-0.1.3.tar.gz
Algorithm Hash digest
SHA256 28b7c762d5442e1db65f6a2283d807df7507058393a4c517ff5baea6d81bd2f8
MD5 7a5ef9b5bf1f4e126b1b3d9eb73b1afc
BLAKE2b-256 8375404e40ddcde2cc65d572fec30d08acd7b74d1a58f167e3f8436f7b795bc4

See more details on using hashes here.

File details

Details for the file scouter_learn-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: scouter_learn-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.0

File hashes

Hashes for scouter_learn-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 82d4b7c688338dd3904a76bbfbff4ac1c72d22b06833d2f64025fa7ad0092636
MD5 655e5455958e9ea8014771ad76d59657
BLAKE2b-256 c686db61c3f1ee5037caed71be1750f145ef8e58db6d18fe47d38e4b771e9583

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page