gen_scaled_data {quollr} | R Documentation |
Scaling the data
Description
This function scales the x and y coordinates.
Usage
gen_scaled_data(data, x, y, hex_ratio = NA)
Arguments
data |
A tibble or data frame. |
x |
The name of the column that contains values along the x-axis. |
y |
The name of the column that contains values along the y-axis. |
hex_ratio |
Numeric value representing the ratio of the hexagon size. |
Value
A list contains scaled x and y coordinates.
Examples
gen_scaled_data(data = s_curve_noise_umap, x = "UMAP1", y = "UMAP2")
[Package quollr version 0.1.1 Index]