-
Notifications
You must be signed in to change notification settings - Fork 81
Open
Description
Hi, I am getting this result. Setting method to "scaterUMAP" works.
sceObj = runNormalization(
inSCE = sceObj,
useAssay = "counts",
outAssayName = "logcounts",
normalizationMethod = "LogNormalize",
scale = F,
verbose = T
)
sceObj = runSeuratFindHVG(
inSCE = sceObj,
useAssay = "logcounts",
method = "vst",
hvgNumber = 2000,
createFeatureSubset = "hvf"
)
s
sceObj = runDimReduce(
inSCE = sceObj,
method = "seuratPCA",
reducedDimName = "PCA",
useAssay = "logcounts",
scale = T,
seed = 789,
nComponents = 30
)
# runSeuratFindClusters
sceObj = runScranSNN(
inSCE = sceObj,
useReducedDim = "PCA",
clusterName = "cluster",
k = 14,
nComp = 30,
algorithm = "louvain",
seed = 789
)
sceObj = runDimReduce(
inSCE = sceObj,
method = "seuratUMAP",
useReducedDim = "PCA",
useFeatureSubset = "hvf",
reducedDimName = "UMAP",
scale = F,
seed = 789,
nComponents = 2
)
Sun Nov 3 23:41:09 2024 ... Computing Seurat UMAP.
Warning: Layer ‘var.features’ is empty
Error in `x[[i, drop = TRUE]]`:
! ‘reductions’ not found in this Seurat object
Backtrace:
1. singleCellTK::runDimReduce(...)
2. singleCellTK::runSeuratUMAP(...)
3. singleCellTK::convertSCEToSeurat(inSCE)
5. SeuratObject:::`$.Seurat`(inSCE@metadata$seurat$obj, "reductions")
7. SeuratObject:::`[[.Seurat`(x, i, drop = TRUE)
Metadata
Metadata
Assignees
Labels
No labels