Description Usage Arguments Value Examples
View source: R/clean.cnv.artifact.r
Fills the gaps in a segmentation data.frame. Chromosome limits are defined for the complete segmentation dataset then segments fill the missing terminal regions. The CN log-ratio of the added segments is set to the average of the closest neighbours in each sample.
1 | segment.gap(cnv, minsize = 5000, chrlist = NULL, verbose = FALSE)
|
cnv |
(S4) an object of class svcnvio containing data type 'cnv' initialized by validate.cnv |
minsize |
(numeric) the minimum gap size required to fill the gap |
chrlist |
(character) list of chromosomes to include chr1, chr2, etc... |
verbose |
(logical) whether to return internal messages |
a data.frame containing CNV data
1 2 3 4 5 | ## validate input data.frames
cnv <- validate.cnv(segdat_lung_ccle)
cnv2 <- segment.gap(cnv)
cnv2
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.