Learn R Programming

sequenza (version 2.1.2)

CP.example: Example of cellularity and ploidy results

Description

Examples of objects resulting from the Bayesian estimation over a set of cellularity and ploidy parameters, as returned by baf.model.fit or mufreq.model.fit.

Usage

data(CP.example)

Arguments

Format

A list containing three items:

ploidy

numeric vector of tested ploidy values.

cellularity

numeric vector of tested cellularity values.

lpp

numeric matrix of log-posterior probability for each (ploidy, cellularity) pair.

Examples

Run this code
# NOT RUN {
  data(CP.example)
  str(CP.example)

  ## Visualization of the object
  image(x = CP.example$ploidy,
        y = CP.example$cellularity,
        z = CP.example$lpp)

  ## A better plot
  cp.plot(CP.example)
  cp.plot.contours(CP.example, add = TRUE)
# }

Run the code above in your browser using DataLab