Learn R Programming

sequenza (version 1.0.5)

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.

Arguments

Value

  • xvector containing the tested ploidy values, sorted from the smaller to the bigger value.
  • yvector containing the tested cellularity values, sorted from the smaller to the bigger value.
  • zmatrix with x columns and y rows, containing the log-likelihood of each tested ploidy and cellularity cobination.

Examples

Run this code
data(CP.example)
  str(CP.example)
  data(CPsnp.example)
  str(CPsnp.example)
  # Visualization of the object
  image(CP.example)
  # A better plot
  cp.plot(CP.example)
  cp.plot.contours(CP.example, add = TRUE)

Run the code above in your browser using DataLab