Calculate length fraction profile of copy number

cnv_getLengthFraction(CN_data, genome_build = c("hg19", "hg38"),
  cols = c("Chromosome", "Start.bp", "End.bp", "modal_cn"),
  sample_col = "sample")

Arguments

CN_data

a QDNAseqCopyNumbers object or a list contains multiple data.frames each one data.frame stores copy-number profile for one sample with 'chromosome', 'start', 'end' and 'segVal' these four necessary columns. Of note, 'segVal' column shoule be absolute copy number values.

genome_build

genome build version, must be one of 'hg19' or 'hg38'.

cols

four characters used to specify chromosome, start position, end position and copy number value, respectively. Default use names from ABSOLUTE calling result.

sample_col

a character used to specify the sample column name.

Value

a data frame