pass_infos_discret {LifemapR} | R Documentation |
Infer discret values to nodes for lm_piecharts function.
pass_infos_discret(M, value)
M |
The dataframe returned by create_matrix. |
value |
The column name represented as piecharts. |
A dataframe containing the TaxIDs and as many columns as there are distinct values.
data(LM_eukaryotes)
infos <- create_matrix(LM_eukaryotes$df, "Status")
inferred_values <- pass_infos_discret(M = infos, value = "Status")