nct.service.homology
Interface HomologyModel

All Known Implementing Classes:
BiojavaLocalBlast, LocalBlast, SIFHomologyReader

public interface HomologyModel

An interface that provides access to something that provides expectation values (e.g.Blast or Fasta).


Method Summary
 java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Double>> expectationValues(SequenceGraph<java.lang.String,java.lang.Double> sg1, SequenceGraph<java.lang.String,java.lang.Double> sg2)
          A method that returns a mapping of expectation values between nodes of the two graphs.
 

Method Detail

expectationValues

java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.Double>> expectationValues(SequenceGraph<java.lang.String,java.lang.Double> sg1,
                                                                                                   SequenceGraph<java.lang.String,java.lang.Double> sg2)
A method that returns a mapping of expectation values between nodes of the two graphs.

Parameters:
sg1 - The first SequenceGraph that contains nodes to be compared.
sg2 - The second SequenceGraph that contains nodes to be compared.
Returns:
A mapping of nodes from the first graph to the second graph and the value of that relationship, in this case the expectation value.