plot_dist_mat | R Documentation |
Plot a heatmap of a distance matrix.
plot_dist_mat(
dist_mat,
num_alleles = max(dist_mat),
dist_display_thresh = round(num_alleles * 2/3),
...
)
dist_mat |
distance matrix as produced by summarize_dataset via make_dist_mat. |
num_alleles |
the maximum number of matching/mismatching alleles. Used to determine color scaling. Defaults to the highest observed distance in the matrix. |
dist_display_thresh |
distance value at or below which distances will be
explicitly drawn on the heatmap. Above this value only the color-coding
will signify distance. Use |
... |
additional arguments passed to pheatmap::pheatmap. |
make_dist_mat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.