Description Usage Arguments Value Methods (by generic) See Also Examples
The Solver class is a generic class that governs the different solvers available in TReNA. A
Solver class object is constructed during creation of a TReNA object and resides within the
TReNA object. It is rarely called by itself; rather, interaction with a particular solver object
is achieved using the solve
method on a TReNA object.
1 2 3 4 | Solver(mtx.assay = matrix(), quiet = TRUE)
## S4 method for signature 'Solver'
getAssayData(obj)
|
mtx.assay |
An assay matrix of gene expression data |
quiet |
A logical indicating whether or not the Solver object should print output |
obj |
An object of class Solver |
An object of the Solver class
getAssayData
: Retrieve the assay matrix of gene expression data
Other Solver class objects: BayesSpikeSolver
,
EnsembleSolver
,
LassoPVSolver
, LassoSolver
,
PearsonSolver
,
RandomForestSolver
,
RidgeSolver
, SpearmanSolver
,
SqrtLassoSolver
1 2 3 4 5 6 7 8 9 | # Create a simple Solver object with default options
mtx <- matrix(rnorm(10000), nrow = 100)
solver <- Solver(mtx)
# Create a Solver object using the included Alzheimer's data and retrieve the matrix
load(system.file(package="TReNA", "extdata/ampAD.154genes.mef2cTFs.278samples.RData"))
solver <- Solver(mtx.sub)
mtx <- getAssayData(solver)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.