Uses of Interface
pal.misc.IdGroup
-
Packages that use IdGroup Package Description pal.alignment Classes dealing with sequence alignments, including methods for reading and printing in several possible formats, as well as rearranging and concatenating.pal.coalescent Classes to model population genetic processes using the coalescent.pal.distance Classes for reading and generating distance matrices, including computation of pairwise distances for sequence data (maximum-likelihood and observed distances).pal.misc Classes that don't fit elsewhere ;^)pal.supgma pal.tree Classes for providing the data structure of trees, for constructing and modifying trees, and for parameterizing trees (e.g., clock constraint). -
-
Uses of IdGroup in pal.alignment
Subinterfaces of IdGroup in pal.alignment Modifier and Type Interface Description interfaceAlignmentinterface for any alignment data.interfaceAnnotationAlignmentThe AnnotationAlignment interface is designed to provide annotation for an alignment.interfaceCharacterAlignmentThis interface is designed to hold quantitative character states.Classes in pal.alignment that implement IdGroup Modifier and Type Class Description classAbstractAlignmentabstract base class for any alignment data.static classAlignmentReaders.PhylipClustalAlignmentstatic classAlignmentReaders.UnalignedAlignmentclassBootstrappedAlignmentgenerates bootstrapped alignments from a raw alignmentclassConcatenatedAlignmentconcatenates a list of alignments to one single alignment, increasing the number of sitesclassConcatenatedAnnotatedAlignmentThis is an annotation version of the ConcatenatedAlignment Unlike normal ConcatenatedAlignment, it permits for merges with different numbers of sequences.classGapBalancedAlignmentCreates a "Gap-Balanced" alignment.classIndelAlignmentThis class extracts indels (insertion/deletion) out of an alignment, and creates an alignment of indel polymorphisms.classIndelAnnotatedAlignmentan extension of the IndelAlignment that includes annotation.classJumbledAlignmentgenerates jumbled alignments (randomizing input order of sequences)classMultiLocusAnnotatedAlignmentMultiLocusAnnotatedAlignment is an extension of the SimpleAlignment that includes Annotation, and is designed for multiple loci.classReadAlignmentreads aligned sequence data from plain text files.classReadAlignmentOldreads aligned sequence data from plain text files.classSimpleAlignmentAn alignment class that can be efficiently constructed from an array of strings.classSimpleAnnotatedAlignmentThis is the basic implementation of the Annotation interface, which is designed to provide annotation for an alignment.classSimpleCharacterAlignmentThis provides a basic implementation of CharacterAlignment.classSitePatterntakes an Alignment and determines its site patternsclassStrippedAlignmenttakes an alignment and repeatedly removes sitesclassStrippedAnnotatedAlignmentThis is the stripped implementation of the Annotation interface, which is designed to provide stripped and annotated alignments.Fields in pal.alignment declared as IdGroup Modifier and Type Field Description protected IdGroupAbstractAlignment. idGroupsequence identifiersprotected IdGroupSimpleCharacterAlignment. idGroupsequence identifiersMethods in pal.alignment with parameters of type IdGroup Modifier and Type Method Description protected voidMultiLocusAnnotatedAlignment. init(IdGroup group, java.lang.String[] sequences)Constructors in pal.alignment with parameters of type IdGroup Constructor Description DataTranslator(int[][] stateData, MolecularDataType dt, IdGroup ids)MultiLocusAnnotatedAlignment(AnnotationAlignment a, IdGroup newGroup)This constructor will subset the alignment based on the taxa in IdGroupMultiLocusAnnotatedAlignment(IdGroup group, java.lang.String[] sequences, java.lang.String gaps, DataType dt)MultiLocusAnnotatedAlignment(IdGroup group, java.lang.String[] sequences, DataType dt)SimpleAlignment(IdGroup group, char[][] cSequences, java.lang.String gaps, DataType dt)SimpleAlignment(IdGroup group, char[][] cSequences, DataType dt)SimpleAlignment(IdGroup ids, java.lang.String[] sequences, java.lang.String gaps, DataType dt)SimpleAlignment(IdGroup ids, java.lang.String[] sequences, DataType dt)SimpleAlignment(IdGroup group, DataType dt, int[][] sSequences)SimpleAnnotatedAlignment(AnnotationAlignment a, IdGroup newGroup)This constructor will subset the alignment based on the taxa in IdGroupSimpleAnnotatedAlignment(IdGroup group, java.lang.String[] sequences, java.lang.String gaps, DataType dt)This constructor creates a basic SimpleAnnotatedAlignment.SimpleAnnotatedAlignment(IdGroup group, java.lang.String[] sequences, DataType dt)This constructor creates a basic SimpleAnnotatedAlignment.SimpleCharacterAlignment(IdGroup group, double[][] traitValues, java.lang.String[] traitNames)Constructor for SimpleCharacterAlignment.SimpleCharacterAlignment(IdGroup group, double[][] traitValues, java.lang.String[] traitNames, java.lang.String[] environNames)Constructor for SimpleCharacterAlignmentSimpleCharacterAlignment(IdGroup group, double[] traitValue, java.lang.String traitName)Constructor for SimpleCharacterAlignment when there is only a single trait.SitePattern(DataType dataType, int numSites, int numSeqs, IdGroup idGroup, int numPatterns, int[] alias, int[] weight, byte[][] pattern)construct SitePattern from scratch -
Uses of IdGroup in pal.coalescent
Classes in pal.coalescent that implement IdGroup Modifier and Type Class Description classDemographicClockTreeProvides parameter interface to a clock-like genealogy which is assumed to have some demographic pattern of theta (diversity) as well as branch parameters (the minimal node height differences at each internal node). -
Uses of IdGroup in pal.distance
Classes in pal.distance that implement IdGroup Modifier and Type Class Description classAlignmentDistanceMatrixcompute distance matrix (observed and ML) from alignment (SitePattern)classDistanceMatrixstorage for pairwise distance matrices.classJukesCantorDistanceMatrixcompute jukes-cantor corrected distance matrixclassReadDistanceMatrixreads pairwise distance matrices in PHYLIP format (full matrix)Methods in pal.distance that return IdGroup Modifier and Type Method Description IdGroupDistanceMatrix. getIdGroup()Deprecated.distance matrix now implements IdGroupMethods in pal.distance with parameters of type IdGroup Modifier and Type Method Description protected voidDistanceMatrix. setIdGroup(IdGroup base)Constructors in pal.distance with parameters of type IdGroup Constructor Description DistanceMatrix(double[][] distance, IdGroup idGroup)constructor taking distances array and IdGroupDistanceMatrix(DistanceMatrix dm, IdGroup subset)constructor that takes a distance matrix and clones the distances, of a the identifiers in idGroup. -
Uses of IdGroup in pal.misc
Classes in pal.misc that implement IdGroup Modifier and Type Class Description classSimpleIdGroupDefault implementation of IdGroup interface.classTimeOrderCharacterDataCharacter data that expresses an order through time.Fields in pal.misc declared as IdGroup Modifier and Type Field Description protected IdGroupTimeOrderCharacterData. taxathe identifier groupMethods in pal.misc that return IdGroup Modifier and Type Method Description static IdGroupIdGenerator. createIdGroup(int size)generates a group of unique identifiers numbered from zero.IdGroupTimeOrderCharacterData. getIdGroup()Deprecated.TimeOrderCharacterData now implements IdGroupIdGroupLabelMapping. getMapped(IdGroup original)Methods in pal.misc with parameters of type IdGroup Modifier and Type Method Description static Identifier[]Identifier. getIdentifiers(IdGroup idGroup)Translates an IdGroup into an array of identifiersIdGroupLabelMapping. getMapped(IdGroup original)static java.lang.String[]Identifier. getNames(IdGroup ids)Translates an IdGroup into an array of stringsstatic java.lang.String[]Identifier. getNames(IdGroup ids, int toIgnore)Translates an IDgroup into an array of strings, with optional removal of particular identifierstatic java.lang.String[]Identifier. getNames(IdGroup ids, int[] toIgnore)Translates an IDgroup into an array of strings, with optional removal of particular identifierTimeOrderCharacterDataTimeOrderCharacterData. getReordered(IdGroup base)Creates a new TimeOrderCharacterData object with the same properites as this one but the identifier positions match that of base (ie whichIdNumber(Name) returns the same as for base)static booleanIdGroup.Utils. isContainedWithin(IdGroup sub, IdGroup full)static booleanIdGroup.Utils. isEqualIgnoringOrder(IdGroup id1, IdGroup id2)voidTimeOrderCharacterData. setOrdinals(TimeOrderCharacterData tocd, IdGroup standard, boolean doTimes)Set time ordinals from another TimeOrderCharacterData.TimeOrderCharacterDataTimeOrderCharacterData. subset(IdGroup staxa)Extracts a subset of a TimeOrderCharacterData.static intIdGroup.Utils. whichIdNumber(IdGroup group, java.lang.String s)A convenience implementation of whichIdNumber that can be used by IdGroup implementationsConstructors in pal.misc with parameters of type IdGroup Constructor Description SimpleIdGroup(IdGroup a)Impersonating Constructor.SimpleIdGroup(IdGroup a, int toIgnore)Impersonating Constructor.SimpleIdGroup(IdGroup a, IdGroup b)Constructor taking two separate id groups and merging them.TimeOrderCharacterData(IdGroup taxa, int units)Constructor taking only IdGroup.TimeOrderCharacterData(IdGroup taxa, int units, boolean contemp)Constructor taking only IdGroup. -
Uses of IdGroup in pal.supgma
Classes in pal.supgma that implement IdGroup Modifier and Type Class Description classSUPGMADistanceMatrixCorrects distances in a distance matrix such that all tips appear contemporaneous, given a time/date and rate information for the taxa.classSUPGMATreeconstructs an SUPGMA tree from pairwise distances. -
Uses of IdGroup in pal.tree
Subinterfaces of IdGroup in pal.tree Modifier and Type Interface Description interfaceParameterizedTreeabstract base class for a tree with an Parameterized interfaceinterfaceTreeInterface for a phylogenetic or genealogical tree.Classes in pal.tree that implement IdGroup Modifier and Type Class Description classClockTreeprovides parameter interface to a clock tree (parameters are the minimal node height differences at each internal node)classClusterTreeclassLogParameterizedTreeThis class logarithmically transforms tree parameters.classMutationRateModelTreeProvides parameter interface to any clock-like tree with serially sampled tips (parameters are the minimal node height differences at each internal node).classNeighborJoiningTreeconstructs a neighbor-joining tree from pairwise distances
Saitou, N., and Nei, M., (1987) The neighbor-joining method: A new method for reconstructing phylogenetic trees.static classParameterizedTree.ParameterizedTreeBaseFor parameterisations that work by adjusting a base tree (that is, they aren't really tree's themselves...)classReadTreeconstructs a tree reading in a New Hampshire treefile, taking care for internal labels and branch lengths and binary/nonbinary and rooted/unrooted treesclassSimpleTreedata structure for a binary/non-binary rooted/unrooted treesclassSimulatedAlignmentgenerates an artificial data setstatic classTree.TreeBaseclassTreeDistanceMatrixcomputes distance matrix induced by a tree (needs only O(n^2) time, following algorithm DistanceInTree by D.Bryant and P.classUnconstrainedTreeprovides parameter interface to an unconstrained tree (parameters are all available branch lengths)classUPGMATreeDeprecated.Use ClusterTreeMethods in pal.tree that return IdGroup Modifier and Type Method Description IdGroupCladeSystem. getIdGroup()get idGroupIdGroupSplitSystem. getIdGroup()get idGroupstatic IdGroupTreeUtils. getLeafIdGroup(Tree tree)get list of the identifiers of the external nodesMethods in pal.tree with parameters of type IdGroup Modifier and Type Method Description static voidCladeSystem. getClade(IdGroup idGroup, Node internalNode, boolean[] clade)get clade for internal nodestatic CladeSystemCladeSystem. getClades(IdGroup idGroup, Tree tree)creates a clade system from a tree (using a pre-specified order of sequences)static TreeTreeUtils. getNumberRelabelledTree(Tree baseTree, IdGroup ids)Create a new tree such that the labels are redifined from a base tree in such a manner: For each leaf label If the base label is not a number the new label is just the original label If the base label is a number the new label appropriately index label from a set identifiersstatic voidSplitUtils. getSplit(IdGroup idGroup, Node internalNode, boolean[] split)get split for branch associated with internal nodestatic SplitSystemSplitUtils. getSplits(IdGroup idGroup, Tree tree)creates a split system from a tree (using a pre-specified order of sequences)static int[]TreeUtils. mapExternalIdentifiers(IdGroup idGroup, Tree tree)map external identifiers in the tree to a set of given identifiers (which can be larger than the set of external identifiers but must contain all of them) NOTE: for efficiency it is assumed that the node lists of the tree are correctly maintained.Constructors in pal.tree with parameters of type IdGroup Constructor Description CladeSystem(IdGroup idGroup, int size)SplitSystem(IdGroup idGroup, int size)TreeDistanceMatrix(Tree t, IdGroup idGroup)compute induced distance matrix using actual branch lengthsTreeDistanceMatrix(Tree t, IdGroup idGroup, boolean countEdges, double epsilon)compute induced distance matrix
-