Commit ee1275d0 authored by Gosset Simon's avatar Gosset Simon
Browse files

Update R/clustering_tfit_window.R

parent 71673849
......@@ -39,7 +39,7 @@ clustering_tfit <- function(organism, network) {
i = 0
while(length(clust) > 0) {
while(length(clust) > 0) {
clust = NULL
......@@ -50,13 +50,15 @@ clustering_tfit <- function(organism, network) {
clust = grep(pattern = i, x = result_tfit[[1]])
print(clust)
clust = unlist(result_tfit[[2]][clust])
if(length(clust) > 0) {
row = cbind(i, paste(clust, collapse = ";"))
print(row)
# print(row)
clust_tab = rbind(clust_tab, row)
......
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