comp.freq: Compare Model Probabilities to Frequencies

Description Usage Arguments Examples

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)

Example output

Loading required package: ade4

oncomodel documentation built on May 1, 2019, 8:01 p.m.