Learn R Programming

cghseg (version 1.0.5)

select<-: Replace slot select

Description

changes slot select of a CGHoptions object

Arguments

.Object

an object of the CGHoptions class

Value

None

Details

CGHo["select"] sets the model selection criterion to be used in the procedure. The default criterion is based on the mBIC proposed by Zhang & Siegmund (2007). If CGHo["select"]=="none" then the algorithm is run for the maximum number of segments.

References

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

See Also

alpha, beta, getmultiKmax, getuniKmax

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")
select(CGHo) = "mBIC"
CGHr         = multiseg(CGHd,CGHo)

select(CGHo) = "none"
CGHr         = multiseg(CGHd,CGHo)
# }

Run the code above in your browser using DataLab