Usage
plot(x,y, ...)
"plot"(x, y, spm, type='b', ...)
"plot"(x, y, type="b", sigLevels=NULL, chromosomes=NULL, colinAxis=NULL, fillColor=NULL, maploc=NULL, interpolation=1, main=NULL, col=NULL, ylim=NULL, add=F, ...)
"plot"(x, sigRegions=NULL, type="1", chromosomes=NULL, colinAxis=NULL, maploc=NULL, interpolation=1, main=NULL, col1=NULL, col2=NULL, ylim=NULL, add=F, ...)
Arguments
x
either an object of class samplePointMatrix, scaleSpace or compKc
type
Determines which data is plotted. 'g' for gains only, 'l' for losses only and 'b' and '1' for both in one plot device
sigRegions
The significant regions as calculated by the compKcSigRegions function
sigLevels
If given, the cutoffs will be drawn as lines in the plots. Optional
chromosomes
Takes a vector of chromosomes to be plotted. Defaults to all chromosomes.
colinAxis
Allows you to override default behaviour of axis labeling. Choose False for genomic position labeling for each individual chromosome, True for colinear labeling.
fillColor
Allows you to choose the colors used to fill the significant areas under the curve. Takes a list with the 'pos' element giving the color for the gains and the 'neg' element the color for the losses.
maploc
Currently not in use
interpolation
Determines which points from the sample point matrix will actually be plotted. If the value of 'interpolation' is n, then every n-th point will be plotted. The default value of 1 will results in all points being plotted. This can be useful when a high density sample point matrix results in big file size when exporting the image (especially to pdf or eps format).
main
Set the title of the plot
col
Set the color of the plotted lines
col1
Set the color of the plotted lines
col2
Set the color of the plotted lines
ylim
Set the y-axis limits
add
When set to true the plot is added to the current plot device
...
Any other parameters you would like to pass to 'plot'. See 'par' for more details.