| Copyright | (c) Dominik Schrempf 2020 |
|---|---|
| License | GPL-3.0-or-later |
| Maintainer | dominik.schrempf@gmail.com |
| Stability | unstable |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
TLynx.Simulate.Options
Description
Creation date: Fri May 3 11:51:07 2019.
Synopsis
- data Height
- data Process
- data SimulateArguments = SimulateArguments {
- argsNTrees :: Int
- argsNLeaves :: Int
- argsProcess :: Process
- argsSubSample :: Maybe Double
- argsSumStat :: Bool
- argsSeed :: Seed
- simulateArguments :: Parser SimulateArguments
- reportSimulateArguments :: SimulateArguments -> String
Documentation
Condition on tree height (origin or most recent common ancestor).
Instances
| Eq Height Source # | |
| Show Height Source # | |
| Generic Height Source # | |
| ToJSON Height Source # | |
Defined in TLynx.Simulate.Options | |
| FromJSON Height Source # | |
| type Rep Height Source # | |
Defined in TLynx.Simulate.Options type Rep Height = D1 (MetaData "Height" "TLynx.Simulate.Options" "tlynx-0.4.0-8tcIvrUCDfo4d2N61gOzrk" False) (C1 (MetaCons "Origin" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Double)) :+: C1 (MetaCons "Mrca" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Double))) | |
Process to be used for simulation.
Constructors
| BirthDeath | |
| Coalescent | |
Instances
| Eq Process Source # | |
| Show Process Source # | |
| Generic Process Source # | |
| ToJSON Process Source # | |
Defined in TLynx.Simulate.Options | |
| FromJSON Process Source # | |
| type Rep Process Source # | |
Defined in TLynx.Simulate.Options type Rep Process = D1 (MetaData "Process" "TLynx.Simulate.Options" "tlynx-0.4.0-8tcIvrUCDfo4d2N61gOzrk" 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 (Maybe Height)))) :+: 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
simulateArguments :: Parser SimulateArguments Source #
Command line parser.
reportSimulateArguments :: SimulateArguments -> String Source #
Print useful information about the provided arguments.