View source: R/CheckIntegration.R
CheckIntegration | R Documentation |
This function plots UMAPs after integration, allowing you to see that cells from the same population but sequenced as part of separate batches, overlap after integration.
CheckIntegration(
seurat_object,
group_by = "orig.ident",
split_chr = "-",
pt.size = 0.2,
xlim = c(-15, 15),
ylim = c(-15, 15),
nrow = 1,
shuffle = TRUE,
seed = 123,
title = "all cells"
)
seurat_object |
Seurat object |
group_by |
seurat_object@meta.data column to group cells by - this should correspond to the variable which identifies shared populations across batches |
split_chr |
character or string used to split group_by variable by batch (i.e. for 'hh6-1' you should specify '-') |
nrow |
number of rows to pass to grid.arrange |
shuffle |
randomly plot cells in order to prevent hiding certain populations when overplotting |
seed |
set seed for plotting consistency when shuffle is TRUE |
title |
title for plot displaying all cells |
plot generated by grid arrange
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.