Here we load essential packages and visium_samples_manifest.xlsx from the data directory, that includes information and metadata about visium samples. We use Seurat v5 (Hao et al. 2023) as data container for processing and visualization. The columns used from this manifest are:
Column
Description
Example
patient_id
patient/donor identifier
patient_1
cellranger_3.0.1_output_path
path to the SpaceRanger outs directory
path/to/sample_1/outs
Note: this is a separate file from the visium_samples_manifest.txt used in SpaceRanger Alignment, which is formatted for the alignment shell script rather than for loading into R.
Here we generate spatial Seurat objects for each patient sample, and save them separately. They will be merged later in Clustering Analysis with deconvolution and clustering results
Hao, Yuhan, Tim Stuart, Madeline H Kowalski, et al. 2023. “Dictionary Learning for Integrative, Multimodal and Scalable Single-Cell Analysis.”Nature Biotechnology, ahead of print. https://doi.org/10.1038/s41587-023-01767-y.