This function returns a matrix in dimensions samples, where samples are the columns of the NetProphetDataSet, x predictors, where predictors are a subset of the regulators. Any regulators which do not regulate a gene according to the regulation matrix are filtered out
1 2 3 4 | regPredictors(x, ...)
## S4 method for signature 'NetProphetDataSet'
regPredictors(x, gene, transpose = TRUE)
|
x |
a NetProphetDataSet object |
gene |
a gene which is in the rownames(x) and possibly in the colnames(regMatrix(x)) |
transpose |
logical, default TRUE to return a sample x predictor matrix. NOTE that this is of particular interest when calling C++ (and maybe C?) functions as they store matricies differently than R and Fortran (row vs column wise). Best to check on these details if you think it might matter. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.