Create a trimesh plot
Usage
geom_trimesh(
mapping = NULL,
data = NULL,
stat = "trimesh",
position = "identity",
show.legend = NA,
na.rm = FALSE,
inherit.aes = TRUE,
...
)
Arguments
- mapping
Aesthetic mappings for the plot.
- data
The data to be plotted.
- stat
The statistical transformation to be applied.
- position
The position adjustment to be applied.
- show.legend
Whether to show the legend for this layer.
- na.rm
Whether to remove missing values.
- inherit.aes
Whether to inherit aesthetics from the plot or the layer.
- ...
Additional arguments to be passed to the `layer` function.
Examples
df_bin_centroids <- s_curve_obj$s_curve_umap_model_distance_df$df_bin_centroids
#> Warning: Unknown or uninitialised column: `df_bin_centroids`.
ggplot2::ggplot() +
geom_trimesh(data = df_bin_centroids, mapping = ggplot2::aes(x = c_x, y = c_y))
#> Error in geom_trimesh(data = df_bin_centroids, mapping = ggplot2::aes(x = c_x, y = c_y)): Problem while computing aesthetics.
#> ℹ Error occurred in the 1st layer.
#> Caused by error:
#> ! object 'c_x' not found