Utility function for converting copynumber units (2 is normal) to log2ratio units (two is normal). If ploidy is provided lr is log2(cn/ploidy), otherwise log2(cn/2).
1 2 3 4 5 6 7 8 9 10
numeric vector or matrix, or DataFrame with numeric-like columns (Rle typicaly). Assumed to be in copynumber units.
numeric, of length ncol(x). Ploidy of each sample.
data of same type as "x" transformed into log2ratio units
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.