View source: R/plot_example_CNprofile.R View source: R/assignSegsToSigs.R
plotCNprofile | R Documentation |
Produces a plot of an allele specific copy number profile.
plotCNprofile(chr,start,end, majCN,minCN,main=NA,colours=NULL, YLIM=NULL,offsetVal=100,LWD=7,CEX=3, custom_legend=NULL)
chr |
Vector of chromosome names for each segment from a single copy number profile. |
start |
Vector of start positions for each segment from a single copy number profile. |
end |
Vector of end positions for each segment from a single copy number profile. |
majCN |
Vector of major copy number for each segment from a single copy number profile. |
minCN |
Vector of minor copy number for each segment from a single copy number profile. |
main |
Title for plot. |
colours |
Colours for plotting segments. If a vector, colours[1] will be used for major copy number, and colours[2] will be used for minor copy number. If a list, colours[[1]] will be used for major segments, colours[[2]] will be used for minor segments. Defaults to c("navyblue","darkorange") if left NULL. |
YLIM |
Y-axis limits for plotting. |
offsetVal |
Major and minor copy number states will be offset from their integer values by max(YLIM)/offsetVal so that they do not overlap. |
LWD |
Line width for plotting segments. |
CEX |
cex value for increasing text size. See par(). |
custom_legend |
List of arguments to be called with legend(). |
None.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.