View source: R/differential_nichenet.R
scale_quantile_adapted | R Documentation |
scale_quantile_adapted
Normalize values in a vector by quantile scaling. Add a pseudovalue of 0.001 to avoid having a score of 0 for the lowest value.
scale_quantile_adapted(x, outlier_cutoff = 0)
x |
A numeric vector. |
outlier_cutoff |
The quantile cutoff for outliers (default 0). |
A quantile-scaled numeric vector.
## Not run:
scale_quantile_adapted(rnorm(5))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.