This function scales first and second columns.
Value
A list of a tibble contains scaled first and second columns, and numeric vectors representing the limits of the original data.
Examples
gen_scaled_data(data = s_curve_noise_umap)
#> $scaled_nldr
#> # A tibble: 3,750 × 3
#> UMAP1 UMAP2 ID
#> <dbl> <dbl> <int>
#> 1 0.276 0.915 1
#> 2 0.927 0.347 2
#> 3 0.810 0.242 3
#> 4 0.137 0.657 5
#> 5 0.476 0.799 6
#> 6 0.0485 0.0657 7
#> 7 0.737 0.851 9
#> 8 0.833 0.224 10
#> 9 0.909 0.371 11
#> 10 0.0890 0.194 12
#> # ℹ 3,740 more rows
#>
#> $lim1
#> [1] -8.699166 10.860784
#>
#> $lim2
#> [1] -9.464272 8.888364
#>