Documentation
¶
Overview ¶
package acr provides data structures & functions for ancestral sequence reconstruction methods
Index ¶
Constants ¶
View Source
const ( ALGO_DELTRAN = iota ALGO_ACCTRAN ALGO_DOWNPASS ALGO_NONE )
Variables ¶
This section is empty.
Functions ¶
func ParsimonyAsr ¶
func ParsimonyAsr(t *tree.Tree, a align.Alignment, algo int, randomResolve bool, rand *mathrand.Rand) (nsteps []int, err error)
Will annotate the tree nodes with ancestral sequences Computed using parsimony Sequences will be located in the comment field of each node at the first index
Types ¶
type AncestralSequence ¶
type AncestralSequence struct {
// contains filtered or unexported fields
}
func NewAncestralSequence ¶
func NewAncestralSequence(length int, alphabetlength int) (*AncestralSequence, error)
type AncestralState ¶
type AncestralState struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.