13 RNA Batch Assessment

13.1 By sample

DefaultAssay(combined) <- "RNA"
DimPlot(combined, reduction = "umap.rna_regressedRibo", group.by = "sample") +
  ggtitle("RNA UMAP — by sample")

Download PDF

13.2 By donor

DimPlot(combined, reduction = "umap.rna_regressedRibo", group.by = "donor_id") +
  ggtitle("RNA UMAP — by donor")

Download PDF

13.3 By sample and donor

DimPlot(combined, reduction = "umap.rna_regressedRibo", group.by = "sample_donor") +
  ggtitle("RNA UMAP — by sample-donor")

Download PDF

13.4 By condition

DimPlot(combined, reduction = "umap.rna_regressedRibo", group.by = "individual_condition") +
  ggtitle("RNA UMAP — by condition")

Download PDF

13.5 Split by sample

Splitting by sample reveals whether the cluster structure is consistent across samples — clusters that appear in only one sample are likely sample-specific artefacts rather than true cell types.

DimPlot(combined, reduction = "umap.rna_regressedRibo",
        split.by = "sample", group.by = "sample_donor") +
  ggtitle("RNA UMAP — split by sample")

Download PDF