... | ... |
@@ -28,7 +28,7 @@ writeTRMreport = function(graph, file, organism, target, query, sort.by = "symbo |
28 | 28 |
invisible(d) |
29 | 29 |
} |
30 | 30 |
# compare a list of graph all-against-all. |
31 |
-getSimilarityMatrix = function(g_list, type = "nodes") { |
|
31 |
+getSimilarityMatrix = function(g_list, type = "edges") { |
|
32 | 32 |
type = match.arg(type, c("nodes", "edges")) |
33 | 33 |
m = matrix(NA, nrow = length(g_list), ncol = length(g_list), dimnames = list(names(g_list), names(g_list))) |
34 | 34 |
for(i in 1:length(g_list)) { |