grimon | R Documentation |
grimon
Grimon (Graphical interface to visualize multi-omics networks) visualizes high-dimensional multi-layered data sets in three-dimensional parallel coordinates. It enables users to intuitively and interactively explore their data, helping their understanding of multiple inter-layer connections embedded in high-dimensional complex data.
grimon(x, format = "wide", segment_mat = NULL, col = "black", label = NULL, optimize_coordinates = FALSE, maxiter = 1000, initT = 1, alpha = NULL, score_function = "angle", progress = FALSE, optimized_point_mat = NULL, return_coordinates = FALSE, norm = TRUE, norm_scale = NULL, norm_shift = NULL, z_interval = 1, point_size = 2, plane_col = "black", plane_alpha = 0.1, border_col = "black", border_alpha = 1, border_lwd = 1, segment_col = NULL, segment_alpha = 0.3, segment_lwd = 1, new_device = FALSE, reset_view = TRUE, userMatrix = rotationMatrix(pi/2, 0, 1, 0), windowRect = c(0, 0, 800, 600), plot_2d_panels = FALSE)
x |
an input The |
format |
format of an input |
segment_mat |
a 2-column matrix to specify segment (edge) connections by the indexes of connecting points.
The index is calculated based on the |
col |
colors of points. |
label |
labels of planes (layers). |
optimize_coordinates |
a logical value indicating whether to optimize points coordinates across layers. |
maxiter |
a maximum number of iterations for optimization by simulated annealing. |
initT |
a initial value of the temperature parameter |
alpha |
a numerical value of the cooling rate |
score_function |
an objective score function to minimize, |
progress |
a logical value indicating whether to show optimization progress. |
optimized_point_mat |
a matrix of pre-optimized point coordinates that was returned in a previous run. |
return_coordinates |
a logical value indicating whether to return points coordinates across layers. |
norm |
a logical value indicating whether to normalize point scales.
Point coordinates for x axis, |
norm_scale |
a numerical value of the scaling parameter for normalization.
If |
norm_shift |
a numerical value of the shifting parameter for normalization.
if |
z_interval |
a numerical value of the interval length between planes (layers). |
point_size |
a point size. |
plane_col |
colors of planes. |
plane_alpha |
alpha transparency of planes. |
border_col |
a color of borders surrounding a plane. |
border_alpha |
alpha transparency of borders. |
border_lwd |
line width of borders. |
segment_col |
colors of segments (edges).
If |
segment_alpha |
alpha transparency of segments (edges). |
segment_lwd |
line width of segments (edges). |
new_device |
a logical value indicating whether to open a new rgl device. |
reset_view |
a logical value indicating whether to reset viewpoint perspective. |
userMatrix |
|
windowRect |
|
plot_2d_panels |
a logical value indicating whether to additionally plot two-dimensional panels of each layer. |
Masahiro Kanai
data("grimon.example") grimon(x = example, col = example_col, label = 1:6, optimize_coordinates = TRUE, maxiter = 1e3, score_function = "angle", segment_alpha = 0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.