rel2abs | R Documentation |
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"
)
gr |
GRanges input with meta data field corresponding to mean relative copy "mean" in that interval |
purity |
purity of sample |
ploidy |
ploidy of sample |
gamma |
gamma fit of solution (over-rides purity and ploidy) |
beta |
beta fit of solution (over-rides purity and ploidy) |
field |
meta data field in "gr" variable from which to extract signal, default "mean" |
field.ncn |
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 |
takes in gr with signal field "field"
numeric vector of integer copy numbers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.