cnv.breaks: Identify CNV breakpoints

Description Usage Arguments Value Examples

View source: R/breakpoint.density.r

Description

Identify CNV breakpoints filtered by the change in copy number log-ratio between contiguous segments

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
cnv.breaks(
  cnv,
  fc.pct = 0.2,
  break.width = 10000,
  min.cnv.size = NULL,
  min.num.probes = NULL,
  chrlist = NULL,
  low.cov = NULL,
  clean.brk = NULL,
  verbose = TRUE
)

Arguments

cnv

(S4) an object of class svcnvio containing data type 'cnv' initialized by validate.cnv

fc.pct

(numeric) copy number change between 2 consecutive segments: i.e (default) cutoff = 0.2 represents a fold change of 0.8 or 1.2

break.width

(numeric) the maximum distance between a segment end and the subsequent segment start positions beyond which breakpoints are discarded

min.cnv.size

(numeric) The minimun segment size (in base pairs) to include in the analysis

min.num.probes

(numeric) The minimun number of probes per segment to include in the analysis

chrlist

(character) list of chromosomes to include chr1, chr2, etc...

low.cov

(data.frame) a data.frame (chr, start, end) indicating low coverage regions to exclude from the analysis

clean.brk

(numeric) identical breakpoints across multiple samples tend to be artifacts; remove breaks > N

verbose

(logical) whether to return

Value

an instance of the class 'breaks' containing breakpoint and breakpoint burden information

Examples

1
2
3
4
# initialized CNV data
cnv <- validate.cnv(segdat_lung_ccle)

cnv.breaks(cnv)

ccbiolab/svpluscnv documentation built on Sept. 9, 2020, 4:52 a.m.