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)

oncomodel documentation built on May 29, 2017, 10:48 a.m.

Search within the oncomodel package
Search all R packages, documentation and source code