Description Usage Arguments Value See Also Examples
View source: R/pct.genome.changed.r
Calculates the percentage of genome changed using CNV segmentation profiles. Genome change is defined based on the fold change CNV log-ratio between a sampele and a reference.
1 | pct.genome.changed(cnv, fc.pct = 0.2, discard.sex = TRUE)
|
cnv |
(S4) an object of class svcnvio containing data type 'cnv' initialized by validate.cnv |
fc.pct |
(numeric) percentage CNV gain/loss for a segment to be considered changed (e.g. 0.2 = 20 percent change 0.8 < segmean && segmean > 1.2) |
discard.sex |
(logical) whether sex chromosomes should be included |
(numeric) vector containing percent genome changed values (0-1)
Additional data format information in the man pages of validate.cnv
1 2 3 4 5 | ## validate input CNV data.frames
cnv <- validate.cnv(segdat_lung_ccle)
pct_changed <- pct.genome.changed(cnv)
head(pct_changed)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.