BiobaseTypes-0.1.2.1: Collection of types for bioinformatics

Safe HaskellNone
LanguageHaskell2010

Biobase.Types.Evalue

Description

Encode the number of hits to expect. This is typically dependent on some "database size". Evalues are bounded by [0,infinity).

TODO Evalues close to zero are more interesting. We should strongly consider log-conversion here.

Synopsis

Documentation

newtype Evalue Source #

Type-safe wrapper for e-values.

Constructors

Evalue 

Fields

Instances

Eq Evalue Source # 

Methods

(==) :: Evalue -> Evalue -> Bool #

(/=) :: Evalue -> Evalue -> Bool #

Num Evalue Source # 
Ord Evalue Source # 
Read Evalue Source # 
Show Evalue Source # 
Generic Evalue Source # 

Associated Types

type Rep Evalue :: * -> * #

Methods

from :: Evalue -> Rep Evalue x #

to :: Rep Evalue x -> Evalue #

Hashable Evalue Source # 

Methods

hashWithSalt :: Int -> Evalue -> Int #

hash :: Evalue -> Int #

ToJSON Evalue Source # 
FromJSON Evalue Source # 
Binary Evalue Source # 

Methods

put :: Evalue -> Put #

get :: Get Evalue #

putList :: [Evalue] -> Put #

Serialize Evalue Source # 
Default Evalue Source #

By default, we expect no hits.

Methods

def :: Evalue #

NFData Evalue Source # 

Methods

rnf :: Evalue -> () #

Unbox Evalue Source # 
NumericalExtremes Evalue Source # 
Vector Vector Evalue Source # 
MVector MVector Evalue Source # 
type Rep Evalue Source # 
type Rep Evalue = D1 (MetaData "Evalue" "Biobase.Types.Evalue" "BiobaseTypes-0.1.2.1-1LTYzU1e5OWItpBBqXiV1g" True) (C1 (MetaCons "Evalue" PrefixI True) (S1 (MetaSel (Just Symbol "getEvalue") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Double)))
data Vector Evalue Source # 
data MVector s Evalue Source #