Skip to content
Snippets Groups Projects
Commit dadee431 authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Merge branch 'develop' into ds.D17

parents 5e152ae7 17d62cb9
Branches
Tags
2 merge requests!4Merge ds,!3Merge completed D17 downsample in to develop
......@@ -401,7 +401,7 @@ scStress <- function(sc10x,stg="go",res.use=1,pc.use=10,cut=0.95){
dev.off()
#Subsample all cells (+Stress) to better visualize their clustering
if (ncol(sc10x@data)<2500){
if (ncol(sc10x@data)>2500){
rnd <- sample(1:ncol(sc10x@data),2500)
} else {
rnd <- 1:ncol(sc10x@data)
......@@ -898,7 +898,7 @@ scNE <- function(sc10x,neg="EurUro",cut=0.95){
dev.off()
#Subsample all cells (+NE) to better visualize their clustering
if (ncol(sc10x@data)<2500){
if (ncol(sc10x@data)>2500){
rnd <- sample(1:ncol(sc10x@data),2500)
} else {
rnd <- 1:ncol(sc10x@data)
......
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