Skip to content
Snippets Groups Projects
Commit 5d57323a authored by maryamghr's avatar maryamghr Committed by Tobias Marschall
Browse files

fixed a bug

parent 997a7b69
No related branches found
No related tags found
No related merge requests found
...@@ -66,9 +66,9 @@ getSegType = function(cellType, status) ...@@ -66,9 +66,9 @@ getSegType = function(cellType, status)
Nc = Nc + as.integer(substr(status, i, i))*(1-as.integer(substr(Wstatus, i, i))) Nc = Nc + as.integer(substr(status, i, i))*(1-as.integer(substr(Wstatus, i, i)))
} }
segType = paste0(stringr::str_dup("W",Nw),stringr::str_dup("C",Nc)) #segType = paste0(stringr::str_dup("W",Nw),stringr::str_dup("C",Nc))
segType = c(Nw, Nc)
} }
#list(segType, Wcn = Nw, Ccn = Nc) segType
c(Nw, Nc)
} }
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