Examples of calModularity()


Examples of org.cytoscape.ClusterViz.internal.Cluster.calModularity()

            int ind=cluster.getInDegree();
            int outd=cluster.getTotalDegree()-2*ind;
            if(ind!=0 && outd!=0)
              cluster.setModularity((double)ind/(double)outd);
            else
                cluster.calModularity(inputNetwork,this);
            alClusters.add(cluster);
          }
        }
        //Once the clusters have been found we either return them or in the case of selection scope,
        //we select only the ones that contain the selected node(s) and return those
View Full Code Here

Examples of org.cytoscape.ClusterViz.internal.Cluster.calModularity()

            ClusterGraph gpCluster =createClusterGraph(alNodes, inputNetwork);
            cluster.setGraph(gpCluster);
            cluster.setScore(0.0);
            cluster.setSeedNode((Long)alNodes.get(0));
            cluster.setResultTitle(resultTitle);
            cluster.calModularity(inputNetwork,this);
            alClusters.add(cluster);
          }
        }
       
        //Once the clusters have been found we either return them or in the case of selection scope,
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.