TreeNode 1.5.2
A library to manipulate phylogenetic trees
Loading...
Searching...
No Matches
PhyloTree.SequenceSimulation.IndelModel Class Reference

Represents a model for sequence insertion/deletion. More...

Public Member Functions

 IndelModel (double insertionRate, double deletionRate, IDiscreteDistribution insertionSizeDistribution, IDiscreteDistribution deletionSizeDistribution)
 Creates a new IndelModel with the specified insertion rate, deletion rate, insertion size distribution and deletion size distribution. More...
 
 IndelModel (double indelRate, IDiscreteDistribution indelSizeDistribution)
 Creates a new IndelModel with the specified rate and size distribution for insertions and deletions. More...
 
 IndelModel (double insertionRate, double deletionRate, IDiscreteDistribution indelSizeDistribution)
 Creates a new IndelModel with the specified insertion rate, deletion rate, and size distribution for insertions and deletions. More...
 
 IndelModel (double indelRate, IDiscreteDistribution insertionSizeDistribution, IDiscreteDistribution deletionSizeDistribution)
 Creates a new IndelModel with the specified rate for insertions and deletions, insertion size distribution and deletion size distribution. More...
 

Properties

double InsertionRate [get]
 The rate of insertions, expressed as a multiple of the rate of sequence mutation. More...
 
double DeletionRate [get]
 The rate of deletions, expressed as a multiple of the rate of sequence mutation. More...
 
IDiscreteDistribution InsertionSizeDistribution [get]
 The size distribution for insertions. More...
 
IDiscreteDistribution DeletionSizeDistribution [get]
 The size distribution for deletions. More...
 

Detailed Description

Represents a model for sequence insertion/deletion.

Definition at line 8 of file IndelModel.cs.

Constructor & Destructor Documentation

◆ IndelModel() [1/4]

PhyloTree.SequenceSimulation.IndelModel.IndelModel ( double  insertionRate,
double  deletionRate,
IDiscreteDistribution  insertionSizeDistribution,
IDiscreteDistribution  deletionSizeDistribution 
)

Creates a new IndelModel with the specified insertion rate, deletion rate, insertion size distribution and deletion size distribution.

Parameters
insertionRateThe insertion rate, expressed as a multiple of the rate of sequence mutation.
deletionRateThe deletion rate, expressed as a multiple of the rate of sequence mutation.
insertionSizeDistributionThe size distribution for insertions.
deletionSizeDistributionThe size distribution for deletions.

Definition at line 37 of file IndelModel.cs.

◆ IndelModel() [2/4]

PhyloTree.SequenceSimulation.IndelModel.IndelModel ( double  indelRate,
IDiscreteDistribution  indelSizeDistribution 
)

Creates a new IndelModel with the specified rate and size distribution for insertions and deletions.

Parameters
indelRateThe insertion/deletion rate, expressed as a multiple of the rate of sequence mutation.
indelSizeDistributionThe size distribution for insertions and deletions.

Definition at line 50 of file IndelModel.cs.

◆ IndelModel() [3/4]

PhyloTree.SequenceSimulation.IndelModel.IndelModel ( double  insertionRate,
double  deletionRate,
IDiscreteDistribution  indelSizeDistribution 
)

Creates a new IndelModel with the specified insertion rate, deletion rate, and size distribution for insertions and deletions.

Parameters
insertionRateThe insertion rate, expressed as a multiple of the rate of sequence mutation.
deletionRateThe deletion rate, expressed as a multiple of the rate of sequence mutation.
indelSizeDistributionThe size distribution for insertions and deletions.

Definition at line 58 of file IndelModel.cs.

◆ IndelModel() [4/4]

PhyloTree.SequenceSimulation.IndelModel.IndelModel ( double  indelRate,
IDiscreteDistribution  insertionSizeDistribution,
IDiscreteDistribution  deletionSizeDistribution 
)

Creates a new IndelModel with the specified rate for insertions and deletions, insertion size distribution and deletion size distribution.

Parameters
indelRateThe insertion/deletion rate, expressed as a multiple of the rate of sequence mutation.
insertionSizeDistributionThe size distribution for insertions.
deletionSizeDistributionThe size distribution for deletions.

Definition at line 66 of file IndelModel.cs.

Property Documentation

◆ DeletionRate

double PhyloTree.SequenceSimulation.IndelModel.DeletionRate
get

The rate of deletions, expressed as a multiple of the rate of sequence mutation.

Definition at line 18 of file IndelModel.cs.

◆ DeletionSizeDistribution

IDiscreteDistribution PhyloTree.SequenceSimulation.IndelModel.DeletionSizeDistribution
get

The size distribution for deletions.

Definition at line 28 of file IndelModel.cs.

◆ InsertionRate

double PhyloTree.SequenceSimulation.IndelModel.InsertionRate
get

The rate of insertions, expressed as a multiple of the rate of sequence mutation.

Definition at line 13 of file IndelModel.cs.

◆ InsertionSizeDistribution

IDiscreteDistribution PhyloTree.SequenceSimulation.IndelModel.InsertionSizeDistribution
get

The size distribution for insertions.

Definition at line 23 of file IndelModel.cs.


The documentation for this class was generated from the following file: