Releases: magnusdv/pedmut
pedmut 0.9.0
New features
-
New function
lumpMutSpecial()implementing special lumping of mutation models. Only some cases are implemented so far, more may be added in the future. -
mutationMatrix()gains argumentvalidate. -
New function
makeStationary()replaces the previousstabilize()for PM-transformation to stationarity. -
As a shortcut for
makeStationary(), the PM transformation may also be applied directly withmutationMatrix(..., transform = "PM")ormutationModel(..., transform = "PM").
Bug fixes
-
Fixed a bug in
makeReversible(..., method = "PR")failing to catch non-reversible inputs. -
Various minor fixes and code simplifications.
pedmut 0.8.0
New features
-
New function
makeReversible()implementing three transformations to reversibility. -
mutationMatrix()andmutationModel()gain atransformargument for applying transformations to reversibility on the fly. -
New function
adjustRate()for adjusting the overall mutation rate of a mutation matrix. -
mutationModel(model = "dawid", ...)replaces the functionstepwiseReversible(). -
Random mutation models can now condition on a fixed overall mutation rate.
-
Include info on boundedness in the print method for mutation models.
Other
-
Refactored
mutationMatrix()for better code maintainability. -
Bug fix: Don't trivialise model name when there is only 1 allele.
-
Several minor improvements in documentation and examples.
-
Use rhub v2.
pedmut 0.7.1
New features
-
New function
mutRate()computing the overall mutation rate of a mutation model. -
New function
isBounded()checking if a mutation matrix M is bounded by the allele frequencies, i.e., thatM[i,j] <= afreq[j]for alli != j. -
New function
stepwiseReversible(). -
Added Thore Egeland as package contributor.
Bug fixes
-
Fixed a floating point bug in the creation of stepwise models.
-
Fix broken URLs.
pedmut 0.6.0
New features
-
Implement the PM stabilisation method of Simonsson & Mostad; liftover from
Familias:::stabilize. -
Implement more general lumping (multiple lumps!) under strong lumpability.
-
New utility
getParams()for extracting model parameters. -
Extend
isStationary(),isReversible()andalwaysLumpable()to full models. -
New functions
isMutationMatrix()andisMutationModel(). -
New S3 method
as.matrix()for classesmutationMatrixandmutationModel. -
New function
findStationary()for obtaining the stationary distribution of a mutation matrix.
pedmut 0.5.0
New features
-
New function
lumpedModel()which is a convenient wrapper oflumpedMatrix(). -
New function
sexEqual()for reading thesexEqualattribute of a mutation model.
Other
- Various speedups, mainly concerning lumped models. These improvements should give better performance in other parts of the
ped suite, especially in likelihood calculations with many markers.
pedmut 0.4.0
New features
mutationModel()gains a new parametervalidate, making it possible to disable validation of the model.validateMutationModel()andvalidateMutationMatrix()are significantly faster, due to various code improvements.
pedmut 0.3.0
This is maintenance release with mostly minor changes.
pedmut 0.2.0
New features
- Added
onestepmodel. - Added
toString()method producing a short description of a mutation model.
This is used inpedtools::print.marker().
Other changes
- Updated README.
- Minor bug fixes.