Usage
segChrom(y, probeAnno, chr=1:17, strands=c("+", "-"), nrBasesPerSegment = 1500, maxk = 3000, step = 7, confint = FALSE, confintLevel = 0.95, useLocks=TRUE, verbose=TRUE, savedir)
Arguments
y
ExpressionSet or matrix containing the data to be segmented.
probeAnno
an object of class probeAnno
(defined in the
Ringo package) or an environment with probe annotations. For the
latter, see the package davidTiling
for an example (?probeAnno).
chr
integer scalar or vector specifying which chromosome(s) to segment.
strands
character scalar or vector specifying which strands to
segment; can also be NA
.
nrBasesPerSegment
integer (length 1): the parameter
maxseg
of the segment
function is calculated as
the length of the chromosome divided
by nrBasesPerSegment
. Thus, it determines the average segment
length in the finest segmentation. step
integer scalar, indicating the minimum distance between
consecutive probes. In cases when probes are offset by less than
step
bases, the probes are sampled to achieve the desired spacing.
confint
logical scalar. If TRUE
, confidence intervals
for each change-point are calculated.
confintLevel
numeric scalar between 0 and 1 indicating the
probability level for the confidence intervals that are calculated
for each change-point.
useLocks
logical scalar. Should a file locking mechanism be used
that allows for a simple-minded parallelization of this function.
verbose
logical scalar. Should we be chatty about our progress?
savedir
character scalar. If specified, resulting segmentation
objects are saved (with save
) to this directory.