bioinformatics-toolkit-0.5.0: A collection of bioinformatics tools
Bio.GO
Synopsis
data GO Source #
Constructors
Fields
Instances
Methods
readsPrec :: Int -> ReadS GO #
readList :: ReadS [GO] #
readPrec :: ReadPrec GO #
readListPrec :: ReadPrec [GO] #
showsPrec :: Int -> GO -> ShowS #
show :: GO -> String #
showList :: [GO] -> ShowS #
type GOId = Int Source #
type GOMap = HashMap GOId GO Source #
getParentById :: GOId -> GOMap -> Maybe GO Source #
addTerm :: GO -> GOMap -> TermCount -> TermCount Source #
Add a GO term to the count table. Term counts will propogate from child to its parents. This function works for cyclical graph as well.
enrichment Source #
Arguments
Background frequency and the total number
Foreground