uk.ac.ebi.intact.application.hierarchView.business.graph
Class GraphHelper

java.lang.Object
  |
  +--uk.ac.ebi.intact.application.hierarchView.business.graph.GraphHelper

public class GraphHelper
extends java.lang.Object

Allows to retreive an interraction network from intact API

Version:
$Id: GraphHelper.java,v 1.17 2003/11/13 14:15:33 skerrien Exp $
Author:
Samuel Kerrien

Constructor Summary
GraphHelper(IntactUserI intactUser)
          basic constructor - sets up (hard-coded) data source and an intact helper.
 
Method Summary
 InteractionNetwork addInteractionNetwork(InteractionNetwork in, Interactor interactor, int depth)
          Create or extend an interaction network by using the given Interactor as a central node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphHelper

public GraphHelper(IntactUserI intactUser)
basic constructor - sets up (hard-coded) data source and an intact helper.

Method Detail

addInteractionNetwork

public InteractionNetwork addInteractionNetwork(InteractionNetwork in,
                                                Interactor interactor,
                                                int depth)
                                         throws SearchException,
                                                IntactException,
                                                MultipleResultException
Create or extend an interaction network by using the given Interactor as a central node. If a network is already existing, we fusion them.

Parameters:
in - an interaction network (can be null).
interactor - the Interactor from which we add an interaction network.
depth - The level of BAIT-BAIT interaction in the interaction graph.
Returns:
the corresponding interaciton network
SearchException
IntactException
MultipleResultException


IntAct Project - EMBL-EBI 2004 - intact-help@ebi.ac.uk