Learn R Programming

Path2PPI (version 1.2.2)

getHybridNetwork: Get hybrid network of the predicted PPI

Description

Get the hybrid network of the previously predicted PPI. The hybrid network consists of all relevant interactions from the reference species, the predicted interactions in the target species and all relevant homologous relationships.

Usage

getHybridNetwork(path2ppi, igraph = FALSE)

Arguments

path2ppi
An object of the class Path2PPI.
igraph
Logical; if TRUE then the hybrid network is given as igraph-object. Otherwise a data frame, consisting of each interaction and homologous relationship, will be returned.

Value

See igraph argument.

See Also

getPPI

Examples

Run this code
data(ai) #Load test data set

ppi <- Path2PPI("Autophagy induction", "Podospora anserina", "5145")

ppi <- addReference(ppi, "Homo sapiens", "9606", human.ai.proteins, 
                    human.ai.irefindex, pa2human.ai.homologs)
ppi <- addReference(ppi, "Saccharomyces cerevisiae (S288c)", "559292", 
                    yeast.ai.proteins, yeast.ai.irefindex, 
                    pa2yeast.ai.homologs)

ppi <- predictPPI(ppi)

#Return the hybrid network as data frame
hybrid <- getHybridNetwork(ppi)

#Return the hybrid network as igraph object
hybrid <- getHybridNetwork(ppi,igraph=TRUE)

Run the code above in your browser using DataLab