plotSegmentationHeatmap(dat, xlim, ylab, rowNames, chr=1, strand="+", vpr, colors, colHeatmap=colorRamp(brewer.pal(9, "YlGnBu")), showConfidenceIntervals=TRUE, just=c("left","centre"), main,makeRasterImage = TRUE, ...)
+
or -
to
indicate which strand of DNA to plot the intensity values from (defaults to "+").c("+"="#00441b", "-"="#081d58", "duplicated"="grey", "cp"="#101010",
"highlight"="red", "threshold"="grey")
,
where the first three elements refer to colors of data points and the
last three to those of lines in the plot.YlGnBu
from RColorBrewer package).grid.rect
)grid.raster
) or
the grid.rect (see grid.rect
) function in grid package.The default is to
generate raster image, as it can be displayed much faster with a relatively smaller file size.plotAlongChrom
if the argument
what
is set to heatmap
.
Although this function can be called directly by the user, this is not recommended.
The dat
list contains the following items:
x
y
flag
extras
data(segnf)
data(gffSub)
nmLabel = colnames(segnf$"1.+"@y)
plotAlongChrom(segnf,chr=1,coord=c(35000,50000),what="heatmap",
gff=gffSub,rowNamesHeatmap=nmLabel) ##using raster image
Run the code above in your browser using DataLab