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
#> emb1 emb2 ID
#> <dbl> <dbl> <int>
#> 1 0.270 0.839 1
#> 2 0.788 0.466 2
#> 3 0.771 0.319 3
#> 4 0.306 0.542 5
#> 5 0.549 0.806 6
#> 6 0.166 0.259 7
#> 7 0.672 0.596 9
#> 8 0.735 0.354 10
#> 9 0.839 0.467 11
#> 10 0.240 0.0903 12
#> # ℹ 3,740 more rows
#>
#> $lim1
#> [1] -13.89059 13.39956
#>
#> $lim2
#> [1] -12.78444 11.36649
#>