showInteraction {Path2PPI}R Documentation

Information about an interaction

Description

Use showInteraction to get detailed information about one interaction of the predicted PPI.

Usage

showInteraction(path2ppi, interaction, mode="default", verbose=TRUE)

Arguments

path2ppi

An object from the class Path2PPI.

interaction

Character vector consisting of the identifiers of the two interactors.

mode

Character string. Which information of this interaction is requested. "default": only the predicted interaction and some major information are provided. "detailed": all interactions deduced from each reference species with this interaction is provided. "references": each reference interaction of the current interaction with some major information. "references.detailed": each reference interaction of the current interaction with all available information (extracted from the corresponding iRefIndex data set).

verbose

Logical. FALSE hides messages in the output.

Value

Data frame with the requested information defined in mode.

Author(s)

Oliver Philipp MolBI-software@bioinformatik.uni-frankfurt.de

See Also

plot.Path2PPI,showReferences

Examples

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,h.range=c(1e-60,1e-20))

interaction <- showInteraction(ppi,interaction=c("B2AT71","B2AE79"),
mode="detailed")
interaction

[Package Path2PPI version 1.20.0 Index]