Browse code

remove redundant splitClust assignment

87875172 authored on 03/06/2019 17:53:01
Showing 1 changed files

... ...
@@ -31,16 +31,6 @@
31 31
     }
32 32
 
33 33
     ## Loop through each split-able Z and perform split
34
-    clustSplit <- lapply(zToSplit, function(x) {
35
-        clusters(.celda_C(counts[, z == x],
36
-            K = 2,
37
-            zInitialize = "random",
38
-            maxIter = 5,
39
-            splitOnIter = -1,
40
-            splitOnLast = FALSE,
41
-            verbose = FALSE))$z
42
-    })
43
-
44 34
     clustSplit <- vector("list", K)
45 35
     for (i in zToSplit) {
46 36
         clustLabel <- .celda_C(