Ancestors
Class AncestralMarginal.Result

java.lang.Object
  extended by Ancestors.AncestralMarginal.Result
Enclosing class:
AncestralMarginal

public class AncestralMarginal.Result
extends java.lang.Object

Class to store the results of a marginal ancestral reconstruction


Method Summary
 Alignment getAlignment()
          Gets the reconstructed alignment
 AncestralMarginal.SiteResult getSiteResult(Site s)
          Gets the site results for a given site
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAlignment

public Alignment getAlignment()
Gets the reconstructed alignment

Returns:
The reconstructed alignment

getSiteResult

public AncestralMarginal.SiteResult getSiteResult(Site s)
                                           throws AncestralException
Gets the site results for a given site

Parameters:
s - The site
Returns:
The results for that site
Throws:
AncestralException - If there is no result for that site