This project aims to assess the technical variability, or conversely the replicability, of the feature counts measured in CosMx, MERSCOPE, and Xenium, based on the publicly available datasets initially released.
Adjacent slices were lined up using the shinySTRegister package. Transcript counts were then binned to create pseudo-spots which could be compared across slices.
Correlation was assessed in two ways:
- Spot-wise correlation is the correlation of feature counts in a spot in one slice with those in the same spot on the adjacent slice,
where
- Feature-wise correlation is the correlation of a given feature across all spots with the corresponding counts in the adjacent slice,
-
Clone the code from github:
git clone git@github.com:JonSulc/subcell-correlation.git -
Change directory to the project root:
cd subcell-correlation -
Download the appropriate data folder from the cluster (using your username):
rsync -azP <user>@curnagl.dcsr.unil.ch:/work/PRTNR/CHUV/DIR/rgottar1/spatial/subcell-correlation/data .
The interface relies on a mix of Quarto and shiny. To run it, you can use the Run document button from Rstudio or run quarto render && quarto preview from within the project root directory.