Read in CNV profile data.table of various flavors and extract a corrected profile
Source:R/swissArmyKnife.R
get_corrected_cnv_profile.RdGiven a data.table or GenomicRanges CNV object, extract the corrected CNV profile.
Any segment with a non-rounded value within 0.2 of the next integer value is rounded to that value.
The output will data.table will contain 6 columns: sample, seqnames, start, end, total, minor
The sample is either user-provided or row count placeholder
Currently supports CNV calls from Battenberg and FACETS