dot-getChrarmFractions: Gets fraction of intervals that make up each GR object

Description Usage Arguments Value

Description

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).

Usage

1
.getChrarmFractions(gr, cn_col = "CN", classifyCN = FALSE, ...)

Arguments

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

Value

2-column data frame of chr_fractions with NA's included and NA's excluded


quevedor2/aneuploidy_score documentation built on Feb. 26, 2021, 12:13 p.m.