Learn R Programming

cghseg (version 1.0.5)

wavenorm<-: Replace slot wavenorm

Description

changes slot wavenorm of a CGHoptions object

Arguments

.Object

an object of the CGHoptions class

Value

None

Details

CGHo["wavenorm"] determines the method to remove the wave-effect: none, position, spline.

References

Joint segmentation, calling and normalization of multiple CGH profiles, Biostatistics (2011)

Examples

Run this code
# NOT RUN {
set.seed(1)
simul          = simulprofiles(M=5,n=100,k.mean=2,SNR=5,lambda=1)
CGHd           = new("CGHdata",Y=simul$Y)
CGHo           = new("CGHoptions")
wavenorm(CGHo) = "spline"
CGHr           = multiseg(CGHd,CGHo)
# }

Run the code above in your browser using DataLab