Function to caluclate permutation of the number of links between two gene sets
perm_link.Rd
`perm_link` is used to obtain permutatied number of links between two genesets of a defined number of gene
Arguments
- r
length of the first geneset (rows)
- c
length of the second geneset (columns)
- gene_network_adj
adjacency matrix of the gene network used
- core
threads to be used for permutation
- k
number of permutation
- hash
logical, indicating if random sampling should be done by using hashmap (see `sample.int()`)