Learn R Programming

sequenza (version 2.1.2)

get.ci: Compute the confidence interval of cellularity and ploidy

Description

Compute the confidence intervals for a cellularity-ploidy posterior probability matrix.

Usage

get.ci(cp.table, level = 0.95)

Arguments

cp.table

list obtained with baf.model.fit or mufreq.model.fit.

level

Confidence level.

Value

A list with 6 items:

values.ploidy

matrix of ploidy values with respective posterior probability.

confint.ploidy

boundaries of the confidence interval of the estimated ploidy.

max.ploidy

point estimate of the ploidy value that has the maximum posterior probability.

values.cellularity

matrix of cellularity values with respective posterior probability.

confint.cellularity

boundaries of the confidence interval of the estimated cellularity.

max.cellularity

point estimate of the cellularity value that has the maximum posterior probability.

See Also

cp.plot.

Examples

Run this code
# NOT RUN {
  data(CP.example)
  CP.example.ci <- get.ci(CP.example)
  str(CP.example.ci)
# }

Run the code above in your browser using DataLab