elynx-tree-0.6.0.0: Handle phylogenetic trees
Copyright(c) Dominik Schrempf 2021
LicenseGPL-3.0-or-later
Maintainerdominik.schrempf@gmail.com
Stabilityunstable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

ELynx.Tree.Distribution.TimeOfOrigin

Description

Creation date: Tue Feb 13 13:16:18 2018.

See Gernhard, T. (2008). The conditioned reconstructed process. Journal of Theoretical Biology, 253(4), 769–778. http://doi.org/10.1016/j.jtbi.2008.04.005.

Distribution of the time of origin for birth and death trees. See corollary 3.3 in the paper cited above.

Synopsis

Documentation

data TimeOfOriginDistribution Source #

Distribution of the time of origin for a phylogenetic tree evolving under the birth and death process and conditioned on observing n leaves today.

Constructors

TOD 

Fields

Instances

Instances details
Eq TimeOfOriginDistribution Source # 
Instance details

Defined in ELynx.Tree.Distribution.TimeOfOrigin

Data TimeOfOriginDistribution Source # 
Instance details

Defined in ELynx.Tree.Distribution.TimeOfOrigin

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> TimeOfOriginDistribution -> c TimeOfOriginDistribution #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c TimeOfOriginDistribution #

toConstr :: TimeOfOriginDistribution -> Constr #

dataTypeOf :: TimeOfOriginDistribution -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c TimeOfOriginDistribution) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c TimeOfOriginDistribution) #

gmapT :: (forall b. Data b => b -> b) -> TimeOfOriginDistribution -> TimeOfOriginDistribution #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> TimeOfOriginDistribution -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> TimeOfOriginDistribution -> r #

gmapQ :: (forall d. Data d => d -> u) -> TimeOfOriginDistribution -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> TimeOfOriginDistribution -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> TimeOfOriginDistribution -> m TimeOfOriginDistribution #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> TimeOfOriginDistribution -> m TimeOfOriginDistribution #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> TimeOfOriginDistribution -> m TimeOfOriginDistribution #

Generic TimeOfOriginDistribution Source # 
Instance details

Defined in ELynx.Tree.Distribution.TimeOfOrigin

Associated Types

type Rep TimeOfOriginDistribution :: Type -> Type #

Distribution TimeOfOriginDistribution Source # 
Instance details

Defined in ELynx.Tree.Distribution.TimeOfOrigin

ContDistr TimeOfOriginDistribution Source # 
Instance details

Defined in ELynx.Tree.Distribution.TimeOfOrigin

ContGen TimeOfOriginDistribution Source # 
Instance details

Defined in ELynx.Tree.Distribution.TimeOfOrigin

type Rep TimeOfOriginDistribution Source # 
Instance details

Defined in ELynx.Tree.Distribution.TimeOfOrigin

type Rep TimeOfOriginDistribution = D1 ('MetaData "TimeOfOriginDistribution" "ELynx.Tree.Distribution.TimeOfOrigin" "elynx-tree-0.6.0.0-FQkEU9t6m33732ommPyIXg" 'False) (C1 ('MetaCons "TOD" 'PrefixI 'True) (S1 ('MetaSel ('Just "todTN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "todLa") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rate) :*: S1 ('MetaSel ('Just "todMu") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Rate))))

cumulative :: TimeOfOriginDistribution -> Time -> Double Source #

Cumulative distribution function Corollary 3.3.

density :: TimeOfOriginDistribution -> Time -> Double Source #

The density function Eq. (5).

quantile :: TimeOfOriginDistribution -> Double -> Time Source #

The inverted cumulative probability distribution cumulative. See also ContDistr.