function for matrix to doheatmap in archr Style
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | ArchRHeatmap(
mat = NULL,
scale = FALSE,
limits = c(min(mat), max(mat)),
colData = NULL,
color = paletteContinuous(set = "solarExtra", n = 100),
clusterCols = TRUE,
clusterRows = FALSE,
labelCols = FALSE,
labelRows = FALSE,
colorMap = NULL,
useRaster = TRUE,
rasterQuality = 5,
split = NULL,
fontSizeRows = 10,
fontSizeCols = 10,
fontSizeLabels = 8,
colAnnoPerRow = 4,
showRowDendrogram = FALSE,
showColDendrogram = FALSE,
customRowLabel = NULL,
customRowLabelIDs = NULL,
customColLabel = NULL,
customColLabelIDs = NULL,
customLabelWidth = 0.75,
rasterDevice = "png",
padding = 45,
borderColor = NA,
draw = TRUE,
name = "Heatmap"
)
|
mat |
an matrix as sparse matrix |
scale |
bool value,wether to do scale in heatmap. |
limits |
limit the min and max value in mat. |
colData |
provide cell bar in top heatmap if it is not null. |
clusterCols |
same as clusterRows. |
clusterRows |
bool value,whether do cluster in row. |
customRowLabel |
custom label in row want to show. ... |
seurat |
An 'Seurat' object. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.