asr

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2021 License: GPL-2.0 Imports: 7 Imported by: 1

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) (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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL