Visium SPG AD project (n = 10) using Visium Spatial Proteogenomics (Visium-SPG) on dissections from the inferior temporal cortex (ITC) from Alzheimer's disease cases and controls.
One way to do this will be with boxplots for the percent of the spot covered by pTau and Abeta (separately) for each BayesSpace cluster. We'll likely make one page per sample (so PDFs with 10 pages) or one huge page with 10 facets. So in total this involves:
Exploring BayesSpace k = 4 up to 15 (12 different ks)
Two variables (could be 4): pTau and Abeta percent (could also be number of pTau/Abeta instead of %)
10 samples (or it could be that the signal is strong enough that it's visible across all samples combined)
One way to do this will be with boxplots for the percent of the spot covered by
pTau
andAbeta
(separately) for eachBayesSpace
cluster. We'll likely make one page per sample (so PDFs with 10 pages) or one huge page with 10 facets. So in total this involves:BayesSpace
k = 4 up to 15 (12 differentk
s)pTau
andAbeta
percent (could also be number of pTau/Abeta instead of %)To do this, we can use
spatialLIBD::cluster_import()
to read in theBayesSpace
k search results from https://github.com/LieberInstitute/Visium_IF_AD/blob/master/code/08_harmony_BayesSpace/02_BayesSpace_k_search.R#L74-L78. You can use a similar code to https://github.com/LieberInstitute/Visium_IF_AD/blob/master/code/08_harmony_BayesSpace/02_BayesSpace_k_search.R#L35-L47 for loading theSpatialExperiment
objects.