scale_data2 | R Documentation |
Scale data.
scale_data2( x, center = TRUE, method = c("auto", "uv", "range", "pareto", "none") )
x |
data.frame or mass_dataset. Rows are variables and columns are samples. |
center |
center or not. TRUE or FALSE. |
method |
auto, uv, range, pareto or none. |
scaled data.frame.
Xiaotao Shen shenxt1990@outlook.com
x <- as.data.frame(matrix(1:10, ncol = 5)) colnames(x) = letters[1:5] scale_data1(x, method = "auto") t(scale(t(x))) scale_data1(x, method = "range") scale_data1(x, method = "pareto") scale_data1(x, method = "none")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.