processMaps | R Documentation |
Convert a list of phytools simmaps to a states.df
processMaps(simmaps, translation.table)
simmaps |
A list of simmaps; the result of a call to phytools::make.simmap where nsim > 1. |
translation.table |
A data frame with the following two columns: "state" and "color", the name of the color to use in the plot to indicate that that trait state. Color can be specified in a variety of ways–word, hexadecimal, probably rgb but untested. |
Take a list of simmaps, summarize them, and converts the results into a states.df suitable for downstream use in shiftPlot.
A new states.df.
Eliot Miller
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.