Description Usage Arguments Value Examples
View source: R/clean.cnv.artifact.r
Detects identical or near-identical CNV segments across multiple samples susceptible of representing common variants or technical artifacts. Then those segments CNV log-ratio is replaced by the flanking segments average
1 2 3 4 5 6 7 8 9 | clean.cnv.artifact(
cnv,
n.reps = 4,
cnv.size = 2e+06,
pc.overlap = 0.99,
fill.gaps = TRUE,
minsize = 5000,
verbose = TRUE
)
|
cnv |
(S4) an object of class svcnvio containing data type 'cnv' validated by validate.cnv |
n.reps |
(numeric) number of samples with identical segment to consider artifact |
cnv.size |
(numeric) only smaller segments will be modified in the cnv data.frame |
pc.overlap |
(numeric) minimun percentage overlap for a pair of segments to be consider identical |
fill.gaps |
(logical) whether to fill gaps from the segmentaed file after filtering artifacts |
minsize |
(numeric) the minimum gap size required to fill the gap. Only used if 'fill.gaps=TRUE' |
verbose |
(logical) whether to print internal messages |
a data.frame containing CNV data
1 2 3 4 5 | ## validate input data.frame
cnv <- validate.cnv(segdat_lung_ccle)
cnvcl <- clean.cnv.artifact(cnv)
cnvcl
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.