
Last chance! 50% off unlimited learning
Sale ends in
pcf
or multipcf
, and results may be visualized over the entire genome or by chromosomes.
plotHeatmap(segments, upper.lim, lower.lim = -upper.lim, pos.unit = "bp", chrom = NULL, layout = c(1, 1),...)
upper.lim
giving the lower limits(s) to be applied. Default is to use the negative value of upper.lim
.c(1,1)
.xlab
, ylab
, main
,
cex.main
, mgp
, cex.lab
, cex.axis
, mar
and title
(see par
on these), as well as plot.size
, plot.unit
, plot.ideo
, ideo.frac
, cyto.text
, assembly
and cex.cytotext
(see plotSample
on these). In addition, a range of graphical arguments
specific for this plot function may be specified:
colors
n.col
sample.labels
sep.samples
sample.line
sample.cex
lower.lim
, the color of the rectangle will equal the input in colors[1]
(default dodgerblue). If the value is above lower.lim
, but below zero, the color of the rectangle will be a nuance between the input in colors[1]
and colors[2]
(default black). The closer the value is to zero, the closer the nuance will be to colors[2]
. Similary, if the value is above upper.lim
, the color of the rectangle will equal the input in colors[3]
(default red), whereas if the value is below upper.lim
, but above zero, the color will be a nuance between the input in colors[2]
and colors[3]
. Again, the closer the value is to zero, the closer the nuance will be to colors[2]
.Each row in the heatmap represents a sample, while probe positions are reflected along the x-axis.
#Load lymphoma data
data(lymphoma)
#Run pcf to obtain estimated copy number values
seg <- pcf(data=lymphoma,gamma=12)
#Heatmap for entire genome, two limit values:
plotHeatmap(segments=seg,upper.lim=c(0.1,0.5),layout=c(2,1))
#Heatmap for the first 4 chromosomes:
plotHeatmap(segments=seg,upper.lim=0.1,chrom=c(1:4),layout=c(2,2))
Run the code above in your browser using DataLab