getTarget.Rd
Retrieve the target gene from a Solver object
# S4 method for Solver getTarget(obj)
obj | An object of class Solver |
---|
The target gene associated with a Solver object
# 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)