#To be used internally by the package only
# 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)
#to plot all the regions and all the sampls in one plot
plotRegions(object$regions)
Run the code above in your browser using DataLab