randomGroupedHeatmap | R Documentation |
generate a random grouped heatmap using ComplexHeatmap
.
randomGroupedHeatmap(
n.row = 20,
n.col = 6,
ngrps.row = 2,
ngrps.col = 3,
cols = NULL,
...
)
n.row |
number of rows |
n.col |
number of columns |
ngrps.row |
number of groups to group rows into |
ngrps.col |
number of groups to group columns into |
cols |
color scheme. Should be a color character vector.
If |
... |
parameters passed on to |
a ComplexHeatmap::Heatmap
object containing the heatmap
Fabian Mueller
randomGroupedHeatmap(n.row=10, n.col=3, ngrps.row=2, ngrps.col=3, cols=colpal.cont(n=9, name="viridis"))
randomGroupedHeatmap(n.row=100, n.col=18, ngrps.row=3, ngrps.col=3, cols=colpal.cont(n=9, name="cb.BrBG"))
pdftemp()
draw(randomGroupedHeatmap(n.row=100, n.col=6, ngrps.row=3, ngrps.col=3, cols=colpal.PhFr.a))
dev.off()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.