To not miss a post like this, sign up for my newsletter to learn computational biology and bioinformatics.

Understand the example datasets

We will use PBMC3k and PBMC10k data. We will project the PBMC3k data to the PBMC10k data and get the labels

library(Seurat)
library(Matrix)
library(irlba) # For PCA
library(RcppAnnoy) # For fast nearest neighbor search
library(dplyr)
# …