Description Usage Arguments Value References Examples

Plot a variant-cell heatmap for cell clonal assignment

1 | ```
vc_heatmap(mat, prob, Config, show_legend = FALSE)
``` |

`mat` |
A matrix for heatmap: N variants x M cells. row and column will be sorted automatically. |

`prob` |
A matrix of probability of clonal assignment: M cells x K clones |

`Config` |
A binary matrix of clonal Configuration: N variants x K clones |

`show_legend` |
A bool value: if TRUE, show the legend |

a pheatmap object

a ggplot object

This function makes use of the `pheatmap`

packages

1 2 3 |

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.