get_Yreg: Y vector for regression

Description Usage Arguments Value References Examples

View source: R/regression_functions.R

Description

This function establishes the Y vector for a specific set of m-values (Equation 11, Anderson et al., 2017).

Usage

1
get_Yreg(datHMF = NULL, Y = NULL, numPar = NULL, mRange = NULL)

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.

Y

The Y data obtained with getXY(). Defaults to NULL.

numPar

The number of parameters found by multiplying the number of annotations by the number of measured features (e.g., number of orggans * number of genes). numPar = ((ncol(datHMF)-2)^2)*(length(unique(datHMF[,2]))^2). Defaults to NULL.

mRange

The m-value range. Defaults to NULL.

Value

The Y vector for regression analysis

References

http://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1005627

Examples

1
Yreg = get_Yreg(datHMF,XY$Y,numPar,mRange)

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