Commit fcfc7fa9 authored by Gervaise Henry's avatar Gervaise Henry 🤠
Browse files

Add assay to FindNeighbors

parent 93993360
......@@ -594,7 +594,7 @@ scCluster <- function(sc10x,res=0.1,red="pca",dim,print="tsne",folder=FALSE,assa
sc10x <- RunTSNE(sc10x,dims=1:dim,reduction="pca",assay=assay)
sc10x <- RunUMAP(sc10x,dims=1:dim,reduction="pca",assay=assay)
sc10x <- FindNeighbors(sc10x,reduction=red,verbose=FALSE)
sc10x <- FindNeighbors(sc10x,reduction=red,verbose=FALSE,assay=assay)
for (i in res){
sc10x <- FindClusters(sc10x,resolution=i,verbose=FALSE)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment