filter_cnv: Filter Copy number variations

Description Usage Arguments Value Examples

View source: R/filter.R

Description

Short CNV stretches can be filtered out.

Usage

1
filter_cnv(dat, thresh = 5)

Arguments

dat

norm_data object.

thresh

Integer, lower threshold for filtering CNVs.

Value

norm_data object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
if(require(brassicaData)){
data("raw_napus", package = "brassicaData", envir = environment())
dat <- intens_theta(raw_napus)
dat <- remove_suffix(dat, "_Grn")
dat <- geno_baf_rratio(dat, delthresh = 11)
dat <- segm(dat)
dat <- cnv(dat, dup = 0.03, del = -0.06)
dat <- filter_cnv(dat)
}

## End(Not run)

grafab/gsrc documentation built on May 14, 2017, 3 p.m.