Learn R Programming

sequenza (version 3.0.0)

CP.example: Example of cellularity and ploidy results

Description

Examples of results from the maximum a posteriori estimation from a set of cellularity and ploidy values, as returned by the functions baf.model.fit and 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