This is a public repository for all code connected to 3D spatial transcriptomics analysis in the rheumatoid arthitis synovium.
Please cite: Vickovic et al. Three-dimensional spatial transcriptomics uncovers cell type localizations in the human rheumatoid arthritis synovium. Communications Biology volume 5, Article number: 129 (2022).
All processed files are available at: https://singlecell.broadinstitute.org/single_cell/study/SCP460
We recommed using the Bulk Download
function and to consult the file descriptions as mentioned bellow.
X_Y
barcode (X_Y) coordinate as column names
GENE
as row names
X_Y
barcode (X_Y) coordinate as column names
GENE
as row names
SectionID_X_Y
barcode (X_Y) coordinate
infiltrate
infiltrate ID
*xy*
files: files connect (x,y) coordinates to 2D centroids of actual ST spots in 3dst
and are used to create a mask during segmentation with:
X_Y
barcode (X_Y) coordinate
pix_x
centroid pixel (x) coordinate in the HE and Mask images
pix_y
centroid pixel (y) coordinate in the HE and Mask images
SectionID_X_Y
Section number followed barcode (X_Y) coordinate
V1
rotated and aligned centroid (x) coordinate in the HE and Mask images
V2
rotated and centroid (y) coordinate in the HE and Mask images
*Cluster*
files: files connect (x,y) coordinates to normalized expression of genes found in each respective cluster with:
Image ID
eg. RA1_HE_1 which matches the *HE*
file names
x
barcode (X) coordinate
y
barcode (Y) coordinate
GENE
list of genes with matched expression values
*scRNAseq*
files: files connect (x,y) coordinates to normalized imputed expression of cell types found in each respective X_Y coordinate with:
Image ID
eg. RA1_HE_1 which matches the *HE*
file names
x
barcode (X) coordinate
y
barcode (Y) coordinate
b_cell
eg. B cell specific score (same format for all 13 tested cell types)
Please refer to our github repo SpoTter.
This is code for segmenting HE nuclei and cytoplasm. HE image segmentation was performed by combining Ilastik and CellProfiler. The labeled segmentation mask was used to assign the individual spots to the corresponding Cell ID. The output CSV file includes Cell IDs, X and Y position of the cells (centroid) and the corresponding spots.
This is code for imputing cell types onto (x,y) spatial positions based on scRNA-seq data taken from Stephenson et al. GO enrichment was performed on the selected genes.
This is code for clustering and DE analysis between clusters.
This is the app for viewing 3D aligned and normalized ST-based expression. The raw code is also available.
histoCAT interactive sessions with ST clusters and cell type annotations are available [here] (https://singlecell.broadinstitute.org/single_cell/study/SCP460) The corresponding files can be load as "session" into histoCAT and visualized. For more information check histoCAT documentation.