Plots a either one or two ChrStrandMatrix objects (typically
constructed using the createChrMatrix function) as heat maps
along a specified chromosome, optionally clustering samples and
including an idiogram.
chrHeatMap (strand.data, cytopaint.func=NULL, col = "heat.colors", start, end, breaks, RowSideColors, title=TRUE, margins = c(6, 6), cexCyto = 0.8, srtCyto=90, lmat = NULL, lhei = NULL, lwid = NULL, ...)createChrMatrix function.plotChrMap for the code used to generate this closure.col colors.srtCyto, below, to
zero.layout.layout row heights.layout row widths.drawMapDendro function. Typically this function should not be called directly, but rather via
the wrapper plotChrMap function. This function uses cytoband
data from the UCSC genome annotation database and code adapted from
the quantsmooth package to draw an idiogram of the chromosome, or a
subset thereof.
plotChrMap, createChrMatrix, drawMapDendro
data('demo')
stranddata <- createChrMatrix( chrdata, chr=22, strand='forward', start=21925000, end=24300000 )
chrHeatMap(stranddata)
Run the code above in your browser using DataLab