Compare Model Probabilities to Frequencies

Share:

Description

Compares the model probabilities of single alterations and pairs to the observed frequencies and shows scatterplots for the comparisons.

Usage

1
  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

1
2
  data(kidney)
  comp.freq(kidney$x, kidney$res$tree, kidney$res$p)