rel2abs.Rd
rescales CN values from relative to "absolute" (i.e. per cancer cell copy) scale given purity and ploidy
rel2abs(
gr,
purity = NA,
ploidy = NA,
gamma = NA,
beta = NA,
field = "ratio",
field.ncn = "ncn"
)
GRanges input with meta data field corresponding to mean relative copy "mean" in that interval
purity of sample
ploidy of sample
gamma fit of solution (over-rides purity and ploidy)
beta fit of solution (over-rides purity and ploidy)
meta data field in "gr" variable from which to extract signal, default "mean"
meta data field in "gr" variable from which to extract germline integer copy number, default "ncn", if doesn't exist, germline copy number is assumed to be zero
numeric vector of integer copy numbers
takes in gr with signal field "field"