CHAT: Clonal Heterogeneity Analysis Tool

CHAT is a collection of tools developed for tumor subclonality analysis using high density DNA SNP array data and sequencing data. The pipeline consists of four major compartments: 1) tumor aneuploid genome proportion (AGP) calculation and ploidy estimation. 2) segment-specific AGP calculation and absolute copy number estimation for somatic CNAs. 3) cancer cell fraction correction for somatic SNVs in clonal or subclonal sCNA regions. 4) number of subclones estimation using Dirichlet process prior followed by MCMC approach.

Install the latest version of this package by entering the following in R:
AuthorBo Li
Date of publication2014-08-09 00:00:40
MaintainerBo Li <>
LicenseGPL (>= 2)

View on CRAN

Man pages

A0SD.BAF: B-allele frequencies of selected chromosomes for TCGA sample...

A0SD.LRR: Copy number information of selected chromosomes for TCGA...

ApproxBIC: Approximate BIC calculation

CHAT-package: Clonal Heterogeneity Analysis Tool

Dist: Distance from point to a line

DPfitSamples: MCMC fitting of sAGP values

findRobustPeaks: Find well-separated peaks

getAGP: AGP estimation main function

getAmpDel: Fraction of amplification or deletion in the genome

getBAFmean: Compute mean of BAF

getCanonicalLines: Regression lines on canonical points with same number of...

getCCF: CCF estimation main function

getCoord: Computes coordinates of a canonical point

getCosine: Computes cosine value of the angle for two vectors.

getDiploidOrigin: Estimate diploid origin in higher ploidy samples

getDistToPath: Find nearest distance from a data point to a canonical line

getDPfit: MCMC fitting for single sample

getGrid: Find all the coordinates for canonical points

getHets: Obtain germline heterozygous markers

getKmeans: K-means clustering of data points

getLOH: Fraction of loss-of-heterozygosity

getOrigin: Inference of Origin Cluster

getPara: Initialize parameters for AGP estimation

getPara.sAGP: Initialize parameters for sAGP estimation.

getPeaks: Find peaks on a curve

getPermutation: Null distribution for estimated AGP.

getPloidy: Genomewide average ploidy

getsAGP: Segment-specific AGP estimation main function

getSampleAGP: AGP inference by sample

getSampleCCF: CCF estimation by sample.

getSeg: Perform DNA segmentation and calculate folded BAF and logR...

getSegChr: Perform binned DNA segmentation by chromosome

getSegChr.CBS: Perform circular binary segmentation by chromosome

getSegPurity: Segment-specific AGP inference by sample

getSumDist: Compute the summation of distances

getUnifiedMap: Merge adjacent break points

is.nearCP: Near canonical position

mcmc: MCMC parameters.

MergeBreakPointsByChr: Merge break points from two sets

NormalizeLRR: Normalize LRR values

plotBAFLRR: BAF-LRR plot

plotIdentifiableZone: Plot Identifiable Zone on sAGP-SAF plot

prior: Prior parameters for MCMC

SampleNMM: Normal-Uniform mixture model fitting


A0SD.BAF Man page
A0SD.LRR Man page
ApproxBIC Man page
CHAT Man page
CHAT-package Man page
Dist Man page
DPfitSamples Man page
findRobustPeaks Man page
getAGP Man page
getAmpDel Man page
getBAFmean Man page
getCanonicalLines Man page
getCCF Man page
getCoord Man page
getCosine Man page
getDiploidOrigin Man page
getDistToPath Man page
getDPfit Man page
getGrid Man page
getHets Man page
getKmeans Man page
getLOH Man page
getOrigin Man page
getPara Man page
getPara.sAGP Man page
getPeaks Man page
getPermutation Man page
getPloidy Man page
getsAGP Man page
getSampleAGP Man page
getSampleCCF Man page
getSeg Man page
getSegChr Man page
getSegChr.CBS Man page
getSegPurity Man page
getSumDist Man page
getUnifiedMap Man page
is.nearCP Man page
mcmc Man page
MergeBreakPointsByChr Man page
NormalizeLRR Man page
plotBAFLRR Man page
plotIdentifiableZone Man page
prior Man page
SampleNMM Man page


R/getOrigin.R R/getUnifiedMap.R R/MergeBreakPointsByChr.R R/getDistToPath.R R/getSampleAGP.R R/findRobustPeaks.R R/plotBAFLRR.R R/getBAFmean.R R/getCanonicalLines.R R/getDPfit.R R/getPloidy.R R/Dist.R R/getPermutation.R R/getHets.R R/getDiploidOrigin.R R/getCoord.R R/getSeg.R R/getAmpDel.R R/getSegChr.R R/getLOH.R R/getGrid.R R/getSampleCCF.R R/getAGP.R R/is.nearCP.R R/getSumDist.R R/ApproxBIC.R R/getKmeans.R R/getSegPurity.R R/getCosine.R R/getsAGP.R R/getCCF.R R/SampleNMM.R R/plotIdentifiableZone.R R/DPfitSamples.R R/getPeaks.R R/getPara.sAGP.R R/getSegChr.CBS.R R/getPara.R R/NormalizeLRR.R
man/findRobustPeaks.Rd man/getOrigin.Rd man/getsAGP.Rd man/DPfitSamples.Rd man/getSegChr.Rd man/getCanonicalLines.Rd man/getPara.sAGP.Rd man/getDPfit.Rd man/getPermutation.Rd man/getHets.Rd man/getDiploidOrigin.Rd man/A0SD.BAF.Rd man/getSumDist.Rd man/SampleNMM.Rd man/getAmpDel.Rd man/ApproxBIC.Rd man/getSeg.Rd man/plotIdentifiableZone.Rd man/getLOH.Rd man/getSampleCCF.Rd man/plotBAFLRR.Rd man/getCosine.Rd man/getCCF.Rd man/getDistToPath.Rd man/getPara.Rd man/getSegPurity.Rd man/getCoord.Rd man/getKmeans.Rd man/getSegChr.CBS.Rd man/getPeaks.Rd man/Dist.Rd man/getSampleAGP.Rd man/A0SD.LRR.Rd man/CHAT-package.Rd man/prior.Rd man/MergeBreakPointsByChr.Rd man/getUnifiedMap.Rd man/getPloidy.Rd man/getGrid.Rd man/getAGP.Rd man/NormalizeLRR.Rd man/is.nearCP.Rd man/getBAFmean.Rd man/mcmc.Rd

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.