Templates with revision indicates that the components or processes have undergone comprehensive parameterization and testing.
Templates with revision indicates that the components or processes are currently being tested. There is some test data available, but there are parameters that need to be set up manually within the code.
Templates with revision indicates that the components or processes are not fully tested. There is no test data available, parameters need to be set up manually within the code, and specific code changes are required based on the data used.
- Set the working directory to the directory containing this README. We recommend using a Project in Rstudio.
- Use install_dependencies.R to install all packages used in these reports.
This repository contains templates for COSMX and Visium[HD] data. Inside each folder you will find the different analyses we have available now.
source("install_depedencies.R")
Visium HD
This script will download the test data needed for the visium reports.
source("visium/download-test-data.R")
Before using any template, go the VISUM
or COSMX
folder and:
- Modify information.R with the right information. You can use this file with any template to include the project/analysis information.
- Modify the
YAML
header of theqmd
files to choose the right parameters for that report.
- For Visium, we work from Seurat objects.
cosmx/01_quality_assessment/qc.Rmd is a template for COSMX QC metrics.
visium/01_quality_assessment/qc.Rmd is a template for Visium[HD] QC metrics. See an example.
visium/02_clustering_annotation/02_Clustering_Annotation.rmd is a template for clustering and annotation with Seurat and Banksy (clustering spatial omics data) and spacexr (cell type identification and cell type-specific differential expression in spatial transcriptomics). See an example.