Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data SummariseOptions = SummariseOptions {}
- pacReadOpts :: PackageReadOptions
- runSummarise :: SummariseOptions -> PoseidonIO ()
- summariseJannoRows :: JannoRows -> Bool -> IO ()
- paste :: [String] -> String
- uniqueNumber :: Ord a => [a] -> String
- frequency :: Ord a => [a] -> [(a, Int)]
- sortTupelsBySndDesc :: (Ord a, Ord b) => (a, b) -> (a, b) -> Ordering
- printFrequency :: Show a => String -> [(a, Int)] -> String
- printFrequencyMaybe :: Show a => String -> [(Maybe a, Int)] -> String
- maybeShow :: Show a => Maybe a -> String
- printFrequencyString :: String -> [(String, Int)] -> String
- printFrequencyMaybeString :: String -> [(Maybe String, Int)] -> String
- maybeShowString :: Maybe String -> String
Documentation
data SummariseOptions Source #
A datatype representing command line options for the summarise command
runSummarise :: SummariseOptions -> PoseidonIO () Source #
The main function running the janno command
summariseJannoRows :: JannoRows -> Bool -> IO () Source #
A function to print meaningful summary information for a list of poseidon samples
paste :: [String] -> String Source #
A helper function to concat the first N elements of a string list in a nice way
uniqueNumber :: Ord a => [a] -> String Source #
frequency :: Ord a => [a] -> [(a, Int)] Source #
A helper function to determine the frequency of objects in a list (similar to the table function in R)
printFrequency :: Show a => String -> [(a, Int)] -> String Source #
A helper function to print the output of frequency nicely
printFrequencyMaybe :: Show a => String -> [(Maybe a, Int)] -> String Source #
A helper function to print the output of frequency over Maybe values nicely
printFrequencyString :: String -> [(String, Int)] -> String Source #
As printFrequency, but without additional quoting of strings