Skip to content
Snippets Groups Projects
Commit d454e73c authored by Jeffrey Pullin's avatar Jeffrey Pullin
Browse files

Update lawlor data preperation

parent 56dd8d52
No related branches found
No related tags found
No related merge requests found
Pipeline #9918 passed
......@@ -44,9 +44,14 @@ lawlor <- computeSumFactors(lawlor, clusters = clusters)
lawlor <- logNormCounts(lawlor)
dec_lawlor <- modelGeneVarByPoisson(lawlor)
top_lawlor <- getTopHVGs(dec_lawlor, n = 5000)
top_lawlor <- getTopHVGs(dec_lawlor, n = 10000)
lawlor <- lawlor[top_lawlor, ]
old_rownames <- rownames(lawlor)
rownames(lawlor) <- rowData(lawlor)$SYMBOL
is_na_rownames <- which(is.na(rownames(lawlor)))
rownames(lawlor)[is_na_rownames] <- old_rownames[is_na_rownames]
lawlor <- runPCA(lawlor)
lawlor <- runTSNE(lawlor, dimred = "PCA")
lawlor <- runUMAP(lawlor, dimred = "PCA")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment