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.
To compute the percent of reads, we could do it like this:
genes <- ## read gene IDs from the TGE panel (1100 or so)
m <- match(genes, rowData(spe)$gene_name) ## or gene_id
total <- colSums(counts(spe))
total_tge <- colSums(counts(spe[m, ]))
percent <- total_tge / total * 100
I'll be interested to see how this changes for TGE vs whole genome.
Could either be:
To compute the percent of reads, we could do it like this:
I'll be interested to see how this changes for TGE vs whole genome.