I'm currently analysing a single cell RNA-seq data using Seurat3.
While analysing, I found that the UMAP/tSNE plots by
DimPlot kept changing everytime I ran it even though I sat the
The code I used is below.
>nDim = 50 >mipsc <- RunPCA(mipsc, npcs = nDim, features = VariableFeatures(object = mipsc), seed.use = 123) >ElbowPlot(mipsc, ndims = nDim) >mipsc <- RunUMAP(mipsc, dims = 1:20, seed.use = 123) >DimPlot(mipsc)
Is there a bug in the code or other steps I must set a seed?