diversity-0.2.0.5: Return the diversity at each position for all sequences in a fasta file

Safe HaskellNone
LanguageHaskell98

Diversity.Diversity

Description

Collection of functions pertaining to finding the diversity of samples.

Synopsis

Documentation

hamming :: String -> String -> Int Source

Takes two strings, returns Hamming distance

diversity :: Ord b => Double -> [b] -> Double Source

Returns the diversity of a list of things

rarefactionCurve :: (Eq a, Ord a) => Bool -> [a] -> [Double] Source

Returns the rarefaction curve for each position in a list

rarefactionViable :: [Double] -> Double Source

Calculates the percent of the curve that is above 95% of height of the curve