MLtopology {oncomodel}R Documentation

Compute Maximum Likelihood Tree Topology

Description

Tries to compute the maximum likelihood tree model for a given data set through stepwise leaf insertion and rearrangements.

Usage

MLtopology(x, verbose=FALSE)

Arguments

x a binary matrix with rows representing tumors and columns representing genetic alterations.
verbose a Boolean value indicating whether intermediate results of the algorithm are to be printed.

Value

tree the resulting tree in matrix format.
p a vector of the maximum likelihood edge parameters (model probabilities).
totloglik the likelihood of the tree model.

Examples

data(kidney)
y <- MLtopology(kidney$x)

[Package oncomodel version 0.8 Index]