Description Usage Arguments Details Value See Also Examples
Calculate the average degrees of separation for multiple node pairs.
1 | multi_gene_paths(in_network, interaction_list)
|
in_network |
The network used for analysis |
interaction_list |
A two column matrix with all the pairwise interactions that need to be evaluated |
This function allows the user to calculate the average DoS for multiple node pairs. The required input parameter is a list of interacting pairs and the search algorithm is applied to each pair. The average DoS for the set is returned.
A vector with the number of connections between each pair is returned.
See Also import_network
, find_path
1 2 3 4 5 6 7 8 | ## Not run:
network <- import_network("example_network_Cyt.txt")
candidate_gene_matrix <- as.data.frame(matrix(data = c("a","c","c","d","e","h","j","f","k","i","x","i"), ncol=2, byrow=T), stringsAsFactors = F)
multi_gene_separation <- multi_gene_paths(network,candidate_gene_matrix)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.