View source: R/visualization.R
| visualize_checkerboard | R Documentation |
Create a visualization of checkerboard pattern data
visualize_checkerboard(df, color1 = "black", color2 = "white")
df |
Data frame with X, Y coordinates and signal_1, signal_2 columns |
color1 |
Color for signal_1 tiles (default: "black") |
color2 |
Color for signal_2 tiles (default: "white") |
ggplot object showing the checkerboard pattern
df <- simulate_checkerboard(grid_size = 6, tile_size = 5)
p <- visualize_checkerboard(df, color1 = "darkblue", color2 = "lightgray")
print(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.