View source: R/PearsonSolver.R
| PearsonSolver | R Documentation |
Create a Solver class object using Pearson correlation coefficients as the solver
PearsonSolver(
mtx.assay = matrix(),
targetGene,
candidateRegulators,
quiet = TRUE
)
mtx.assay |
An assay matrix of gene expression data |
targetGene |
A designated target gene that should be part of the mtx.assay data |
candidateRegulators |
The designated set of transcription factors that could be associated with the target gene |
quiet |
A logical denoting whether or not the solver should print output |
A Solver class object with Pearson correlation coefficients as the solver
solve.Pearson, getAssayData
Other Solver class objects:
BicorSolver,
EnsembleSolver,
HumanDHSFilter-class,
LassoPVSolver,
LassoSolver,
RandomForestSolver,
RidgeSolver,
Solver-class,
SpearmanSolver,
XGBoostSolver
load(system.file(package="trena", "extdata/ampAD.154genes.mef2cTFs.278samples.RData"))
target.gene <- "MEF2C"
tfs <- setdiff(rownames(mtx.sub), target.gene)
pearson.solver <- PearsonSolver(mtx.sub, target.gene, tfs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.