Description Usage Arguments Value
Return mixture estimation for percentage of normal cells and tumor (1 normal + 2 tumors) with wgs data
Takes baf
, lrr
, n_baf
and nrc
1 | calc_2d_wgs(baf, lrr, n_baf, nrc)
|
baf |
a numeric vector. Each element is the mean adjusted B allele frequency for that segment, calculated as the mean of baf_tumor/baf_normal/2 for that segment |
lrr |
a numeric vector. Each element is the log ratio of the tumor read count and the normal read count for a segment, defined as log(tumorCount/normalCount) |
n_baf |
a numeric vector |
nrc |
a numeric vector. Each element is the normal read count of the segment divided by two |
sol1 |
a numeric vector of length 2. It provides the estimated percentages of normal and tumor from the best solution. The first number is the percentage of the estimated normal percentage. The second number is the percentage of the estimated tumor 1 percentage |
sol2 |
a numeric vector of length 2. It provides the estimated percentages of normal and tumor from the second best solution. The first number is the percentage of the estimated normal percentage. The second number is the percentage of the estimated tumor 1 percentage |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.