plot_xpm_3d {xvm} | R Documentation |
generate 3d scatter plot from xpm data
Description
creates 3d visualization of xpm data with scatter plot.
Usage
plot_xpm_3d(xpm_data, reversescale = FALSE, point_size = 2)
Arguments
xpm_data |
a xpm object (from |
reversescale |
whether to reverse the color scale; default is FALSE |
point_size |
the size of the points in the scatter plot; default is 2 |
Value
a plotly object
Examples
library(xvm)
xpm_file_path <- system.file("extdata/gibbs.xpm", package = "xvm")
xpm_data <- read_xpm(xpm_file_path)
plot_xpm_3d(xpm_data) # plot 3D scatter plot from xpm file
[Package xvm version 0.0.2 Index]