multi_gene_paths: Find the average degree of separation for a set of nodes...

Description Usage Arguments Details Value See Also Examples

Description

Calculate the average degrees of separation for multiple node pairs.

Usage

1
multi_gene_paths(in_network, interaction_list)

Arguments

in_network

The network used for analysis

interaction_list

A two column matrix with all the pairwise interactions that need to be evaluated

Details

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.

Value

A vector with the number of connections between each pair is returned.

See Also

See Also import_network, find_path

Examples

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)

CandidateBacon documentation built on May 2, 2019, 6:11 p.m.