getTarget: Retrieve the target gene from a Solver object

Description Usage Arguments Value Examples

Description

Retrieve the target gene from a Solver object

Usage

1
2
## S4 method for signature 'Solver'
getTarget(obj)

Arguments

obj

An object of class Solver

Value

The target gene associated with a Solver object

Examples

1
2
3
4
5
6
# Create a Solver object using the included Alzheimer's data and retrieve the target gene
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)
target <- getTarget(solver) 

PriceLab/trena-until-01mar2018 documentation built on May 25, 2019, 1:22 p.m.