clean.cnv.artifact: Remove likely artifacts from segmentation data and fill gaps...

Description Usage Arguments Value Examples

View source: R/clean.cnv.artifact.r

Description

Remove likely artifacts from segmentation data and fill gaps in segmentation data

Usage

1
2
3
4
5
6
7
8
clean.cnv.artifact(
  cnv,
  n.reps = 4,
  cnv.size = 5e+06,
  pc.overlap = 0.99,
  fill.gaps = TRUE,
  verbose = TRUE
)

Arguments

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

verbose

(logical)

fill

(logical) whether to fill gaps from the segmentaed file after filtering artifacts

Value

a data.frame containing CNV data

Examples

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

clean.cnv.artifact(cnv)

gonzolgarcia/svpluscnv documentation built on March 4, 2020, 10:06 a.m.