Description Usage Arguments Value Author(s)
View source: R/absCopyNumber.R
This function converts copy ratios into abosolute copy numbers when the tumor purity and ploidy are provided by the user. The tumor purity and ploidy parameter should be taken from the result after running the "run_fromLocal" or "run_fromDF" etc. functions.
1 | get_absCopyNumber(seg.data, alpha, tau, qmax = 7)
|
seg.data |
a data frame with five columns: "chrom", "loc.start", "loc.end", "eff.seg.len", "normalized.ratio". |
alpha |
tumor purity estimate |
tau |
tumor ploidy estimate |
qmax |
maximum allowed absolute copy number for any segments |
a data.frame
columns:
rhat |
expected copy ratio |
CN |
absolute copy number |
Lei Bao
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.