BiobaseTypes-0.2.1.0: 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

Instances details
Eq Evalue Source # 
Instance details

Defined in Biobase.Types.Evalue

Methods

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

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

Num Evalue Source # 
Instance details

Defined in Biobase.Types.Evalue

Ord Evalue Source # 
Instance details

Defined in Biobase.Types.Evalue

Read Evalue Source # 
Instance details

Defined in Biobase.Types.Evalue

Show Evalue Source # 
Instance details

Defined in Biobase.Types.Evalue

Generic Evalue Source # 
Instance details

Defined in Biobase.Types.Evalue

Associated Types

type Rep Evalue :: Type -> Type #

Methods

from :: Evalue -> Rep Evalue x #

to :: Rep Evalue x -> Evalue #

NumericLimits Evalue Source # 
Instance details

Defined in Biobase.Types.Evalue

Hashable Evalue Source # 
Instance details

Defined in Biobase.Types.Evalue

Methods

hashWithSalt :: Int -> Evalue -> Int #

hash :: Evalue -> Int #

ToJSON Evalue Source # 
Instance details

Defined in Biobase.Types.Evalue

FromJSON Evalue Source # 
Instance details

Defined in Biobase.Types.Evalue

Binary Evalue Source # 
Instance details

Defined in Biobase.Types.Evalue

Methods

put :: Evalue -> Put #

get :: Get Evalue #

putList :: [Evalue] -> Put #

Serialize Evalue Source # 
Instance details

Defined in Biobase.Types.Evalue

Default Evalue Source #

By default, we expect no hits.

Instance details

Defined in Biobase.Types.Evalue

Methods

def :: Evalue #

NFData Evalue Source # 
Instance details

Defined in Biobase.Types.Evalue

Methods

rnf :: Evalue -> () #

Unbox Evalue Source # 
Instance details

Defined in Biobase.Types.Evalue

Wrapped Evalue Source # 
Instance details

Defined in Biobase.Types.Evalue

Associated Types

type Unwrapped Evalue #

Vector Vector Evalue Source # 
Instance details

Defined in Biobase.Types.Evalue

Evalue ~ t => Rewrapped Evalue t Source # 
Instance details

Defined in Biobase.Types.Evalue

MVector MVector Evalue Source # 
Instance details

Defined in Biobase.Types.Evalue

type Rep Evalue Source # 
Instance details

Defined in Biobase.Types.Evalue

type Rep Evalue = D1 ('MetaData "Evalue" "Biobase.Types.Evalue" "BiobaseTypes-0.2.1.0-KNWEaQoA0aY419BnftjfF1" 'True) (C1 ('MetaCons "Evalue" 'PrefixI 'True) (S1 ('MetaSel ('Just "getEvalue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double)))
newtype Vector Evalue Source # 
Instance details

Defined in Biobase.Types.Evalue

type Unwrapped Evalue Source # 
Instance details

Defined in Biobase.Types.Evalue

newtype MVector s Evalue Source # 
Instance details

Defined in Biobase.Types.Evalue