Learn R Programming

MapperAlgo (version 1.0.9)

MapperPlotter: Plot Mapper Result

Description

Visualizes the Mapper output using either networkD3.

Usage

MapperPlotter(Mapper, original_data, label, avg = FALSE, use_embedding = FALSE)

Value

Plot of the Mapper.

Arguments

Mapper

Mapper object.

original_data

Original dataframe, not the filter values.

label

Label of the data.

avg

Whether coloring the nodes by average label or majority label.

use_embedding

Whether to use original data for coloring (TRUE or FALSE).