search for: nodescol

Displaying 1 result from an estimated 1 matches for "nodescol".

2010 Jun 08
1
Deleting duplicate values in a correlation matrix
...ation value (for Cytoscape). I figured out how to do this and to remove the connections that nodes have to themselves but I can't figure out how to get rid of the duplicate pairs (e.g. the edge b-a is a duplicate of a-b). NodesRow<-rep(c("a","b","c"),each=3) NodesCol<-rep(c("a","b","c"),times=3) Corr<-c(1,.8,.4,.8,1,.3,.4,.3,1) data<-data.frame(NodesRow,NodesCol,Corr) # above is what my node and edge dataframe looks like data2<-subset(data,data[,1]!=data[,2]) # above is how I clear out connections nodes have to the...