Description Usage Arguments Value References Examples
View source: R/regression_functions.R
This function establishes the X matrix for a specific set of m-values (Equation 11, Anderson et al., 2017).
1 |
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. |
X |
The X 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. |
The Y vector for regression analysis
http://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1005627
1 | Xreg = get_Xreg(datHMF,XY$Y,numPar,mRange)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.