Description Usage Arguments Value Examples
View source: R/heatmapOntoClust.R
Create a heatmap of ontology clusters
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
oc |
Output from |
clusterColors |
A character |
cluster_cols |
Logical to cluster link communities (columns). |
rowNames |
Display text for ontologies. It can be either
|
cellwidth |
Width each cell. Default is 8. |
cellheight |
Height each cell. Default is 8. |
treeheight_row |
Height of the tree on rows (ontology clusters). Default is 30. |
treeheight_col |
Height of the tree on columns (link communities). Default is 30. |
legend |
Legend for black/white colors. Default is FALSE. |
filename |
Default NULL. If provided with .pdf or .png extensions, function generates a PDF or PNG output file. |
silent |
Default FALSE. If TRUE, the function does not plot the heatmap to the graphics device. |
... |
Additional parameters for |
pheatmap
object
1 2 3 4 5 | ontology.id <- sample_data$GOBP$ID[1:50]
network <- createOntologyNetwork(ontology.id, method = "jaccard", weighted = FALSE)
lc <- getLC(network)
oc <- getOntoClust(lc)
heatmapOntoClust(oc)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.