| MLparameters {oncomodel} | R Documentation |
Compute Maximum Likelihood Parameters
Description
Computes the maximum likelihood parameters
for a given tree topology.
Usage
MLparameters(x, tree, freq = NULL)
Arguments
x |
a binary matrix whose rows are the (preferably unique) genetic
profiles. |
tree |
the tree in matrix format. |
freq |
a vector whose length equals the number of rows of
x, giving the frequency of each profile in the data. |
Value
p |
a vector of the maximum likelihood edge parameters (model probabilities). |
totloglik |
the likelihood at the ML parameters. |
Examples
data(kidney)
MLparameters(kidney$x, freq = NULL, kidney$tree)
[Package
oncomodel version 0.8
Index]