require(Yano)
Loading required package: Yano
── Attaching packages ────────────────────────────────────────────── Yano 1.0 ──
✔ dplyr 1.1.4 ✔ Seurat 5.2.1
✔ ggplot2 3.5.1
<- ReadPISA("./exp/")
exp
<- CreateSeuratObject(exp, min.features = 1000, min.cells = 10)
obj "percent.mt"]] <- PercentageFeatureSet(obj, pattern = "^MT-")
obj[[<- subset(obj, nFeature_RNA < 9000 & percent.mt < 20)
obj
# Downsampling to 2000 cells for fast testing
<- obj[, sample(colnames(obj),2000)]
obj
# To improve visualization, we reduced the resolution when identifying cell clusters.
<- NormalizeData(obj) %>% FindVariableFeatures() %>% ScaleData() %>% RunPCA(verbose=FALSE) %>% FindNeighbors(dims = 1:10, verbose=FALSE) %>% FindClusters(resolution = 0.1, verbose=FALSE) %>% RunUMAP(dims=1:10, verbose=FALSE) obj
Normalizing layer: counts
Finding variable features for layer counts
Centering and scaling data matrix
DimPlot(obj, label=TRUE, label.size = 5, label.box = TRUE)