Learn R Programming

LifemapR (version 1.1.5)

pass_infos_discret: Infer discret values to nodes for lm_piecharts function.

Description

Infer discret values to nodes for lm_piecharts function.

Usage

pass_infos_discret(M, value)

Value

A dataframe containing the TaxIDs and as many columns as there are distinct values.

Arguments

M

The dataframe returned by create_matrix.

value

The column name represented as piecharts.

Examples

Run this code
data(LM_eukaryotes)

infos <- create_matrix(LM_eukaryotes$df, "Status")

inferred_values <- pass_infos_discret(M = infos, value = "Status")

Run the code above in your browser using DataLab