Description Usage Arguments Value
Takes a GRanges object (ideally and designed for a single chromosome or chromosome arm) and founds out what fraction of the total chr/chr_arm each interval makes up of it. It does this for all intervals with a copy number value (non-NA in cn_col), as well as with NA's removed (no CN value (NA) in cn_col).
1 | .getChrarmFractions(gr, cn_col = "CN", classifyCN = FALSE, ...)
|
gr |
GRanges object of a chromosome or chromosome arm |
cn_col |
Column in GRanges object containing CN values [Default='CN'] |
classifyCN |
classify arm-CN into Loss/Neut/Gain [Boolean] |
... |
Parameters for .classifyCN() function |
2-column data frame of chr_fractions with NA's included and NA's excluded
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.