calc_2d: Return mixture estimation of a normal and 2 tumors Takes BAF,...

Description Usage Arguments Value

View source: R/calc_2d.R

Description

Return mixture estimation of a normal and 2 tumors Takes BAF, LRR, chr, x, gt, seg_raw

Usage

1
calc_2d(BAF, LRR, chr, x, GT, seg_raw)

Arguments

BAF

vector containing B allen frequency (BAF)

LRR

vector

chr

vector

x

vector

GT

vectors of factors containing genotype

seg_raw

dataframe about segmentation

Value

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-1 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-1 is the percentage of the estimated tumor 1 percentage


EstMix documentation built on May 2, 2019, 7:25 a.m.

Related to calc_2d in EstMix...