pct.genome.changed: Calculate the percentage of genome changed by CNV

Description Usage Arguments Value See Also Examples

View source: R/pct.genome.changed.r

Description

Calculate the percentage of genome changed by CNV

Usage

1
pct.genome.changed(cnv, fc.pct = 0.2, discard.sex = TRUE)

Arguments

cnv

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

fc.pct

(numeric) percentage CNV gain/loss for a segment to be considered changed (i.e. 0.2 = 20 percent change 0.8 < segmean && segmean > 1.2)

discard.sex

(logical) whether sex chromosomes should be included

Value

(numeric) vector containing percent genome changed values (0-1)

See Also

Additional data format information in the man pages of validate.cnv

Examples

1
2
3
4
## validate input data.frames
cnv <- validate.cnv(segdat_lung_ccle)

pct.genome.changed(cnv)

gonzolgarcia/svcnvplus documentation built on March 4, 2020, 6:02 p.m.