plot_data_2d: Create a 2D interactive plot

View source: R/plot_data.r

plot_data_2dR Documentation

Create a 2D interactive plot

Description

This function creates an interactive plot of the data.

Usage

plot_data_2d(data, file, group = FALSE, size = 1.5, alpha = 1)

Arguments

data

A data frame with taxon name in the row name, path length in the 1st column, node count in the 2nd, and group assignment in the 3rd (optional)

file

Output file directory (save as an .html file)

group

If TRUE, the colors of the data points represent the group assignment

size

Size of data point

alpha

Transparency of data point (0: transparent; 1: opaque)

Value

This function outputs an object of the plotly class to an HTML file.

Author(s)

Kevin Surya


suryakevin/drugcandy documentation built on May 6, 2022, 6:37 p.m.