View source: R/circos.heatmap.R

circos.heatmap.initialize | R Documentation |

Initialize circular heatmaps

```
circos.heatmap.initialize(mat, split = NULL, cluster = TRUE,
clustering.method = "complete", distance.method = "euclidean",
dend.callback = function(dend, m, si) reorder(dend, rowMeans(m)),
cell_width = rep(1, nrow(mat)))
```

`mat` |
A matrix or a vector. The vector is transformed as a one-column matrix. |

`split` |
A categorical variable. It splits the matrix into a list of matrices. |

`cluster` |
whether to apply clustering on rows. The value can also be a |

`clustering.method` |
Clustering method, pass to |

`distance.method` |
Distance method, pass to |

`dend.callback` |
A callback function that is applied to the dendrogram in every sector. |

`cell_width` |
Relative widths of heatmap cells. |

https://jokergoo.github.io/2020/05/21/make-circular-heatmaps/

```
# There is no example
NULL
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.