Learn R Programming

gsrc (version 1.1)

segm: Segmentation of R ratio values

Description

Wrapper for DNAcopy::segment. Other methods (e.g. sliding window approaches) might be added in a future version.

Usage

segm(dat)

Arguments

dat
List object, containing at least two matrices "baf" and "rratio" and two vectors "chr" and "pos".

Value

norm_data object including a CNA 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)
# }
# ## End(Not run)

Run the code above in your browser using DataLab