calc_1d function

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

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

calc_1d(BAF, LRR, chr, x, GT, seg_raw)

Arguments

  • BAF: vector containing B allen frequency (BAF)
  • LRR: vector
  • chr: vector
  • x: vector
  • GT: vector of factors containing genotype
  • seg_raw: dataframe about segmentation

Returns

  • sol1: percentage of tumor for optimal solution 1 - sol2: percentage of tumor 1 for optimal solution 2
  • Maintainer: Xuan You
  • License: GPL (>= 2)
  • Last published: 2018-09-13

Useful links