igraph / xdata-igraph

xdata igraph, has been merged into igraph/igraph
GNU General Public License v2.0
18 stars 3 forks source link

correlated ER sampling #8

Closed jovo closed 10 years ago

jovo commented 10 years ago

input: either 1 graph and a correlation value, rho, between 0 & 1, or p and a correlation value.

output: 2 graphs sampled with the specified n,p and rho

gaborcsardi commented 10 years ago

I guess this is related to GSM #1. Or they are the same? Or this is a subset of #1? Probably.

jovo commented 10 years ago

indeed they are related. the function called 'CER<-function( n, p, rho ,permutation)' in there is the function to generate correlated ER graphs. i guess if you specify one of the graphs, then they need not be correlated ER graphs technically. the reason this comes up in SGM is because we have theory that SGM works when the data are correlated ER graphs, so we wanted to show numerically that it works. but really, i think of these as two different things:

1) a method for sampling a pair of graphs 2) a method of matching a pair of graphs

obviously, both related.