Safe Haskell | None |
---|---|
Language | Haskell98 |
Collection of functions pertaining to finding the diversity of samples.
- hamming :: String -> String -> Int
- diversity :: Ord b => Double -> [b] -> Double
- rarefactionCurve :: (Eq a, Ord a) => Bool -> Int -> Integer -> Integer -> [a] -> IO [(Int, (Double, Double))]
- rarefactionSampleCurve :: (Ord a, Ord b) => Bool -> Int -> Int -> [(a, b)] -> IO [(Int, (Double, Double))]
- rarefactionViable :: [Double] -> Double
Documentation
rarefactionCurve :: (Eq a, Ord a) => Bool -> Int -> Integer -> Integer -> [a] -> IO [(Int, (Double, Double))] Source
Returns the rarefaction curve for each position in a list
rarefactionSampleCurve :: (Ord a, Ord b) => Bool -> Int -> Int -> [(a, b)] -> IO [(Int, (Double, 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