plot_simData {SUMO}R Documentation

Visualizing the simulated data using image map and 3D visualization

Description

Visualizing the simulated data using image map and 3D visualization

Usage

plot_simData(sim_object, type = "heatmap")

Arguments

sim_object

R object containing simulated data to be plotted

type

type of the plot. Heatmap for image plot and 3D for persp 3D plot

Value

The function generates and displays a plot based on the specified type. If type is "heatmap", the function displays a 2D heatmap of the simulated data. If type is "3D", the function creates a 3D surface plot of the simulated data. The function does not return any values but generates the requested plot as a side effect.

Examples

# Examples
output_obj <- OmixCraftHD(
  vector_features = c(2000,3000),
  sigmas_vector=c(8,5),
  n_samples=100,
  n_factors=5,
  num.factor='multiple',
  advanced_dist='mixed'
)
plot_simData(sim_object = output_obj, type = "heatmap")
plot_simData(sim_object = output_obj, type = "3D")

[Package SUMO version 0.1.0 Index]