git clone https://github.com/wollmanlab/JSTA.git
With pip:
pip install -r CoreFunctions/requirements.txt
With conda:
conda env create -f CoreFunctions/environment.yml
or
conda install --file CoreFunctions/requirements.txt
./install.sh
Simulate spatial transcriptomics data from a reference dataset:
Files needed:
- scRNAseq Reference:
- cells x genes matrix
- Reference celltypes:
- cell type vector
Run our quick implementation of density estimation, and segmentation with JSTA!
Files needed:
- mRNA spots:
- spots x 4 matrix
- Columns: gene name, x, y, z
- Rows: Each mRNA spot
- nuclei:
- pixels x 4 matrix;
- Columns: cell id, x, y, z
- Rows: Each pixel of nucleus
- scRNAseq Reference:
- cells x genes matrix
- Reference celltypes:
- cell type vector
Run our approach for finding spDEGs in your spatial data.