# create an instance of cghSeg
new("cghSeg")
# create an instance of cghSeg through \code{segmentData}
## Not run: 
#    data(Wilting)
#    rawcgh <- make_cghSeg(Wilting)
#    normalized <- normalize(rawcgh)
#    segmented <- segmentData(normalized)
# 
#    # plot the first sample. Default only every 10th log2-ratio is plotted (dotres=10). Adjust using dotres= option below. 
#    plot(segmented[,1])
#    # first three chromosomes
#    plot(segmented[chromosomes(segmented)<=3,1])
# 
#    # get the copynumber values of the third and fourth sample
#    log2ratios <- copynumber(segmented[,3:4])
# 
#    # get the names of the samples
#    sampleNames(segmented)
# 
#    # get the names of the array elements
#    featureNames(segmented)
# ## End(Not run)
Run the code above in your browser using DataLab