| comp.freq {oncomodel} | R Documentation |
Compare Model Probabilities to Frequencies
Description
Compares the model probabilities of single alterations and
pairs to the observed frequencies and shows scatterplots for the comparisons.
Usage
comp.freq(x, tree, p)
Arguments
x |
a binary data matrix with rows representing tumors and
columns representing genetic alterations. |
tree |
the tree in matrix format. |
p |
a vector of edge parameters (model probabilities). |
Examples
data(kidney)
comp.freq(kidney$x, kidney$tree, kidney$p)
[Package
oncomodel version 0.8
Index]