Learn R Programming

gsrc (version 1.1)

filter_cnv: Filter Copy number variations

Description

Short CNV stretches can be filtered out.

Usage

filter_cnv(dat, thresh = 5)

Arguments

dat
norm_data object.
thresh
Integer, lower threshold for filtering CNVs.

Value

norm_data object

Examples

Run this code
## 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)

Run the code above in your browser using DataLab