Browse code

- changed default in getSimilarityMatrix() type="nodes" to type="edges"

git-svn-id: file:///home/git/hedgehog.fhcrc.org/bioconductor/trunk/madman/Rpacks/rTRM@86914 bc3139a8-67e5-0310-9ffc-ced21a209358

D Diez authored on 28/02/2014 05:37:25
Showing 1 changed files

... ...
@@ -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)) {