rowNormScale | R Documentation |
Normalize and scale data per row
rowNormScale(
x,
from = 0,
to = 1,
naValue = NA,
low = NULL,
high = NULL,
singletMethod = "min",
col_range = NULL,
...
)
x , from , to , naValue , singletMethod |
arguments passed to
|
low |
numeric value or |
high |
numeric value or |
col_range |
integer vector referring to column numbers in
the input |
... |
additional arguments are passed to |
This function essentially calls jamba::normScale()
on each row of a numeric matrix. By default, it scales
values to a fixed numeric range from 0 to 1, where
the minimum value is set to 0 and the maximum value is
set to 1. It is much more configurable, see jamba::normScale()
help docs.
Other jam utility functions:
cardinality()
,
color_complement()
,
convert_PD_df_to_SE()
,
convert_imputed_assays_to_na()
,
curate_se_colData()
,
curate_to_df_by_pattern()
,
design2layout()
,
get_numeric_transform()
,
handle_df_args()
,
merge_proteomics_se()
,
nmat_summary()
,
nmatlist_summary()
,
rmd_tab_iterator()
,
summit_from_vector()
m <- matrix(1:9, ncol=3);
m;
rowNormScale(m);
rowNormScale(m, from=0, to=10);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.