scale_zeroOne: Normalization 0,1

Description Usage Arguments Value Examples

View source: R/scaling_functions.R

Description

This function normalizes input data to the range (0,1).

Usage

1
scale_zeroOne(mat, center = "mean")

Arguments

mat

Matrix with the first column containing measurement times and the second column containing annotations (organs). The third and subsequent columns contain measurement data.

center

The metric used to compute the center, options include "mean" and "median"

Value

The data matrix with scaled measurements measurements. Scaled center measurements are provided for each measurement/annotation (e.g., gene/organ) combination. This is the data format required for HMF().

Examples

1
datHMF = scale_zeroOne(matrix, center="mean")

WarrenDavidAnderson/dynamicNetworkID documentation built on May 23, 2019, 4:23 p.m.