SpearmanSolver: Create a Solver class object using Spearman correlation...

View source: R/SpearmanSolver.R

SpearmanSolverR Documentation

Create a Solver class object using Spearman correlation coefficients as the solver

Description

Create a Solver class object using Spearman correlation coefficients as the solver

Usage

SpearmanSolver(
  mtx.assay = matrix(),
  targetGene,
  candidateRegulators,
  quiet = TRUE
)

Arguments

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

Value

A Solver class object with Spearman correlation coefficients as the solver

See Also

solve.Spearman, getAssayData

Other Solver class objects: BicorSolver, EnsembleSolver, HumanDHSFilter-class, LassoPVSolver, LassoSolver, PearsonSolver, RandomForestSolver, RidgeSolver, Solver-class, XGBoostSolver

Examples

load(system.file(package="trena", "extdata/ampAD.154genes.mef2cTFs.278samples.RData"))
target.gene <- "MEF2C"
tfs <- setdiff(rownames(mtx.sub), target.gene)
spearman.solver <- SpearmanSolver(mtx.sub, target.gene, tfs)

PriceLab/TReNA documentation built on March 21, 2023, 1:57 p.m.