public class MergeGenotypeTablesPlugin
extends AbstractPlugin
Merge alignments into a single alignment containing all taxa and positions. TODO: Add capacity for depth
public MergeGenotypeTablesPlugin(java.awt.Frame parentFrame,
boolean isInteractive)
public javax.swing.ImageIcon getIcon()
public java.lang.String getButtonName()
public java.lang.String getToolTipText()
public static GenotypeTable mergeGenotypeTables(GenotypeTable[] alignments)
Merge an array of GenotypeTables into a single GenotypeTable
public static TaxaList generateMasterTaxaList(GenotypeTable[] alignments)
Generate a list of unique taxa given an array of alignments
public static PositionList generateMasterPositionList(GenotypeTable[] alignments)
Generate a list of unique positions given an array of alignments
public static java.util.HashMap[] makeTaxaHashes(GenotypeTable[] alignments)
Takes an array of GenotypeTables and returns a matching array of HashMaps linking each Taxon to its index
public static java.util.HashMap[] makePositionHashes(GenotypeTable[] alignments)
Takes an array of GenotypeTables and returns a matching array of HashMaps linking each Position to its index
public static byte mergeCalls(java.lang.Byte[] calls)
Take an array of Byte genotype calls and merge TODO: Make this smarter; currently just uses the last call (to be same as in TASSEL4)