getRegulators: Retrieve the candiate regulators from a Solver object

getRegulators,Solver-methodR Documentation

Retrieve the candiate regulators from a Solver object

Description

Retrieve the candiate regulators from a Solver object

Usage

## S4 method for signature 'Solver'
getRegulators(obj)

Arguments

obj

An object of class Solver

Value

The candidate regulators associated with a Solver object

Examples

# Create a Solver object using the included Alzheimer's data and retrieve the regulators
load(system.file(package="trena", "extdata/ampAD.154genes.mef2cTFs.278samples.RData"))
targetGene <- "MEF2C"
candidateRegulators <- setdiff(rownames(mtx.sub), targetGene)
solver <- Solver(mtx.sub, targetGene, candidateRegulators)
regs <- getRegulators(solver) 

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