regPredictors: extract a subset of the expression matrix filtered by the...

Description Usage Arguments

Description

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

Usage

1
2
3
4
regPredictors(x, ...)

## S4 method for signature 'NetProphetDataSet'
regPredictors(x, gene, transpose = TRUE)

Arguments

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.


cmatKhan/bartNP documentation built on Dec. 19, 2021, 5:16 p.m.