setPeakInfo {DNAmixturesLite} | R Documentation |
Include or exclude peak information in the model
Description
The function setPeakInfo
is used for including in the model
either the full peak height information or only information about
presence and absence of peaks. After a call to setPeakInfo
,
the Bayesian networks in mixture$domains
will represent
the conditional distribution given the specified peak
information. For the reverse functionality, i.e. exclusion of any
such peak information, use removePeakInfo
.
IMPORTANT: This is the DNAmixturesLite package, which is intended as a service to enable users to try DNAmixtures without purchasing a commercial licence for Hugin. When at all possible, we strongly recommend the use of DNAmixtures rather than this lite-version. See https://dnamixtures.r-forge.r-project.org/ for details on both packages.
While the lite-version seeks to provide the full functionality of DNAmixtures, note that computations are much less efficient and that there are some differences in available functionality. Be aware that the present documentation is copied from DNAmixtures and thus may not accurately describe the implementation of this lite-version.
Usage
setPeakInfo(mixture, pars, presence.only = FALSE)
removePeakInfo(mixture)
Arguments
mixture |
|
pars |
A |
presence.only |
Default is FALSE, which means that the full peak height information is taken into consideration. Set to TRUE, which will include only information on the presence and absence of peaks. |
Details
The function setPeakInfo
sets conditional
probability tables using the specified model parameters, and
propagates suitable evidence using either observed peak heights or
the discrete presence/absence observations of peaks. Any
previously entered or propagated evidence on nodes O
and
D
will be retracted in this process.
The function removePeakInfo
retracts all evidence on nodes
O
and D
; the conditional probability tables are left
unchanged.
Value
invisibly NULL
See Also
setCPT
. For use of the Bayesian networks, see map.genotypes
.