This repo contains scripts used for spatial QC steps and can also be used for specific analysis steps
./scripts
contains the following R scripts, details can be found within each script documentaitons
crop_seurat_v1.R
: allows user to crop (or keep) Seurat object FOV part or a dataframe- discussion can be found on Seurat issue here
spatial_autocorr_moransI_v1.R
: this runs spatial autocorrelation (Moran's I) usingmoranfast
R packagesubset_obj_seurat_v2.R
: optimized subset function that can subset Seurat object FOVs for when > 1 FOVs or samples are present- see this discussion and this issue