tlynx-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

TLynx.Simulate.Options

Description

Creation date: Fri May 3 11:51:07 2019.

Synopsis

Documentation

data Process Source #

Process to be used for simulation.

Constructors

BirthDeath 

Fields

Coalescent 

Instances

Instances details
Eq Process Source # 
Instance details

Defined in TLynx.Simulate.Options

Methods

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

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

Show Process Source # 
Instance details

Defined in TLynx.Simulate.Options

Generic Process Source # 
Instance details

Defined in TLynx.Simulate.Options

Associated Types

type Rep Process :: Type -> Type #

Methods

from :: Process -> Rep Process x #

to :: Rep Process x -> Process #

ToJSON Process Source # 
Instance details

Defined in TLynx.Simulate.Options

FromJSON Process Source # 
Instance details

Defined in TLynx.Simulate.Options

type Rep Process Source # 
Instance details

Defined in TLynx.Simulate.Options

type Rep Process = D1 ('MetaData "Process" "TLynx.Simulate.Options" "tlynx-0.6.0.0-HofljkDb0GQAc1uqX5sBHh" 'False) (C1 ('MetaCons "BirthDeath" 'PrefixI 'True) ((S1 ('MetaSel ('Just "bdLambda") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Just "bdMu") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double)) :*: (S1 ('MetaSel ('Just "bdRho") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "bdHeight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 TimeSpec))) :+: C1 ('MetaCons "Coalescent" 'PrefixI 'False) (U1 :: Type -> Type))

data SimulateArguments Source #

Arguments need to simulate phylogenetic trees using birth and death processes.

Constructors

SimulateArguments 

Fields

Instances

Instances details
Eq SimulateArguments Source # 
Instance details

Defined in TLynx.Simulate.Options

Show SimulateArguments Source # 
Instance details

Defined in TLynx.Simulate.Options

Generic SimulateArguments Source # 
Instance details

Defined in TLynx.Simulate.Options

Associated Types

type Rep SimulateArguments :: Type -> Type #

ToJSON SimulateArguments Source # 
Instance details

Defined in TLynx.Simulate.Options

FromJSON SimulateArguments Source # 
Instance details

Defined in TLynx.Simulate.Options

Reproducible SimulateArguments Source # 
Instance details

Defined in TLynx.Simulate.Options

type Rep SimulateArguments Source # 
Instance details

Defined in TLynx.Simulate.Options

type Rep SimulateArguments = D1 ('MetaData "SimulateArguments" "TLynx.Simulate.Options" "tlynx-0.6.0.0-HofljkDb0GQAc1uqX5sBHh" 'False) (C1 ('MetaCons "SimulateArguments" 'PrefixI 'True) ((S1 ('MetaSel ('Just "argsNTrees") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "argsNLeaves") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "argsProcess") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Process))) :*: (S1 ('MetaSel ('Just "argsSubSample") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "argsSumStat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "argsSeed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 SeedOpt)))))

reportSimulateArguments :: SimulateArguments -> String Source #

Print useful information about the provided arguments.

Orphan instances

Eq TimeSpec Source # 
Instance details

Show TimeSpec Source # 
Instance details

Generic TimeSpec Source # 
Instance details

Associated Types

type Rep TimeSpec :: Type -> Type #

Methods

from :: TimeSpec -> Rep TimeSpec x #

to :: Rep TimeSpec x -> TimeSpec #

ToJSON TimeSpec Source # 
Instance details

FromJSON TimeSpec Source # 
Instance details