Skip to content
/ facets Public
forked from mskcc/facets

Algorithm to implement Fraction and Copy number Estimate from Tumor/normal Sequencing.

Notifications You must be signed in to change notification settings

raylim/facets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

facets

Algorithm to implement Fraction and Allele specific Copy number Estimate from Tumor/normal Sequencing.

NOTES

2016_08_08 (version 0.5.2)

The new version estimates the log-ratio level corresponding to the diploid state. It is embedded into the procSample call. In terms of using the package you can now do:

rcmat <- readSnpMatrix(filename, ...)
xx <- preProcSample(rcmat, ...)
# specify cval you like
oo <- procSample(xx, cval = 300)

And go straight to

emcncf2(oo)

The output of procSample now has 4 elements:

  • jointseg – same as before
  • out – as before with 3 additional columns: cf, tcn, lcn
  • dipLogR – the estimated location of diploid log-ratio value
  • flags – this gives an indication of whether the dipLogR is estimated well.

If flags is NULL then no obvious problem with the dipLogR estimate. It can have two other comments: "mafR not sufficiently small" and "could be polyclonal 1 copy loss". The first one means that there aren't segments with sufficiently balanced alleles and so the estimate may not be great. The second one means that it looks like genome doubling; the only lower level segments are 2+1 and 2+0 (from 2+2); a model without genome doubling but single copy loss (1+0 from 1+1) with two different cellular fraction could fit better.

Note: I am not claiming that I have covered all possible scenarios that lead to bad dipLogR estimate. If you come across anything that doesn't seem right but flags is NULL let me know.

About

Algorithm to implement Fraction and Copy number Estimate from Tumor/normal Sequencing.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • R 75.1%
  • C++ 15.1%
  • Fortran 9.7%
  • C 0.1%