plot_logmap | R Documentation |
Plot logmap Plot logmap coordinates using the first two principal components.
plot_logmap( vectors, base_name, other_cons_name = NULL, gene_names = NULL, col = NULL, col_name = NULL, show_legend = TRUE, cons_exists = TRUE )
vectors |
A matrix of logmap vectors for each tree. |
base_name |
The name of the base tree in the log map. |
other_cons_name |
An optional other consensus tree name. |
gene_names |
An optional list of gene names. If no names are given, numbers will be used to identify trees. |
col |
An optional list of gene attributes to color the points of the scatterplot by. |
col_name |
An optional name for the color attribute |
show_legend |
If true, the color legend is shown, if false it is hidden. |
cons_exists |
True if plot includes a consensus tree, false if not. |
A ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.