/persist

Primary LanguagePythonMIT LicenseMIT

PERSIST

Predictive and robust gene selection for spatial transcriptomics (PERSIST) is a computational approach to select target genes for FISH studies. PERSIST relies on a reference scRNA-seq dataset, and it uses deep learning to identify genes that are predictive of the genome-wide expression profile or any other target of interest (e.g., transcriptomic cell types). PERSIST also binarizes gene expression levels during the selection process, which helps account for the measurement shift between expression counts obtained by scRNA-seq and FISH.

Installation

You can install the package by cloning the repository and pip installing it as follows:

pip install -e .

This will automatically install any missing dependendencies, which may take a couple minutes. Please be sure to install a version of PyTorch that is compatible with your GPU, as we highly recommend using a GPU to accelerate training.

Usage

PERSIST is designed to offer flexibility while requiring minimal tuning. For a demonstration of how it's used, from data preparation through gene selection, please see the following Jupyter notebooks: