diversity-0.8.1.0: Quantify the diversity of a population

Safe HaskellSafe
LanguageHaskell98

Math.Diversity.GenerateDiversity

Description

Collection of functions for the collection of fragments for the diversity calculations.

Synopsis

Documentation

fragmentPos :: Bool -> Int -> [(Position, Char)] -> [(Position, Fragment)] Source #

Generates fragment list from string of "win" length. This version differs from normal as it takes a tuple with the position as the first entry. Is in tail recursive form

generatePositionMap :: Bool -> Bool -> Int -> Int -> Bool -> Window -> FastaSequence -> PositionMap Source #

Generate the frequency from a FastaSequence