acr

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2018 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

package acr provides data structures & functions for ancestral character reconstruction methods

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AncestralStateIndices

func AncestralStateIndices(alphabet []string) map[string]int

func ParsimonyAcr

func ParsimonyAcr(t *tree.Tree, tipCharacters map[string]string) error

Will annotate the tree nodes with ancestral characters Computed using parsimony Characters will be located in the comment field of each node at the first index tipCharacters: mapping between tipnames and character state

Types

type AncestralState

type AncestralState []float64

counts or probabilities of each character indices correspond to Alphanumeric order of the alphabet (all possible states)

Jump to

Keyboard shortcuts

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