elynx-seq-0.0.1: Handle molecular sequences

ELynx.Data.Alphabet.DistributionDiversity

Contents

Description

Creation date: Mon Feb 25 13:32:56 2019.

Synopsis

# Entropy

Entropy of vector.

Effective number of used characters measured using entropy. The result only makes sense when the sum of the array is 1.0.

# Homoplasy

Probability of homoplasy of vector. The result is the probability of binomially sampling the same character twice and only makes sense when the sum of the array is 1.0.

Effective number of used characters measured using homoplasy. The result only makes sense when the sum of the array is 1.0.

# Count characters

For a given code vector of characters, calculate frequency of characters.