Calculate the hypergeometric probability of the subgraph's number of edges.
超几何概率计算子图的边数。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
calcProb calculates the probability of having the number of edges found in the subgraph given that it was made from origgraph. The hypergeometric distribution is used to calculate the probability (using the pdf).
calcProb计算,发现在给定的子边的概率,它是从origgraph。用于计算超几何分布的概率(用PDF)。
用法----------Usage----------
calcProb(subgraph, origgraph)
参数----------Arguments----------
参数:subgraph
subgraph made from the original graph
子制成的原始图
参数:origgraph
original graph object from which the subgraph was made
从该子了原来的图形对象
值----------Value----------
The probability of the subgraph's number of edges is returned.
返回子图的边数的概率。