#example
# the package contains example files: regions.csv and sample_list.csv
#to load the example regions.csv and sample_list.csv files
regions <- system.file("extdata", "regions.csv", package="CopyNumber450kCancer")
sample_list <- system.file("extdata", "sample_list.csv", package="CopyNumber450kCancer")
# Creat the object for the package
object <- ReadData(regions,sample_list)
# Baseline autocorrection,
# this will creat different plot and QC and new regions file in the working directory
object <- AutoCorrectPeak(object)
# For manual revision and manual baseline determination
# object <- ReviewPlot(object)
# To plot the final plots
PlotCNV(object) # to plot all the samples
PlotCNV(object, select= c(1,4), comment=FALSE, cutoff=0.1, markers=20) # to plot some samples
Run the code above in your browser using DataLab