Learn R Programming

sequenza (version 2.1.0)

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.ploidymatrix of ploidy values with respective posterior probability.
  • confint.ploidyboundaries of the confidence interval of the estimated ploidy.
  • max.ploidypoint estimate of the ploidy value that has the maximum posterior probability.
  • values.cellularitymatrix of cellularity values with respective posterior probability.
  • confint.cellularityboundaries of the confidence interval of the estimated cellularity.
  • max.cellularitypoint estimate of the cellularity value that has the maximum posterior probability.

See Also

cp.plot.

Examples

Run this code
data(CP.example)
  CP.example.ci <- get.ci(CP.example)
  str(CP.example.ci)

Run the code above in your browser using DataLab