get_M_vals: Select M ranges

Description Usage Arguments Value Examples

View source: R/m-value_functions.R

Description

Select a set of values for M = max(m)

Usage

1
get_M_vals(datHMF = datHMF, Mall = NULL, Msc = 2)

Arguments

datHMF

The data matrix with scaled measurements measurements. Scaled center measurements are provided for each measurement/annotation (e.g., gene/organ) combination. This format is produced by scale_zeroOne(). Defaults to datHMF.

Mall

A set of m-values. Defaults to NULL.

Msc

A scale factor that determines the M value (M = max(m)) corresponding to the largest range of m-values. Mmax <- ceiling(Msc * Np / 2) where Np = number of parameters. Defaults to 2.

Value

A List with the minimum number of modulating functions (Mmin), the maximum number of modulating functions (Mmax), and the entire set of modulating function m-values (Mall).

Examples

1
mvals = get_M_vals(datHMF, Msc=2)

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