getAssayData: Retrieve the assay matrix of gene expression data from a...

getAssayData,Solver-methodR Documentation

Retrieve the assay matrix of gene expression data from a Solver object

Description

Retrieve the assay matrix of gene expression data from a Solver object

Usage

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

Arguments

obj

An object of class Solver

Value

The assay matrix of gene expression data associated with a Solver object

Examples

# Create a Solver object using the included Alzheimer's data and retrieve the matrix
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)
mtx <- getAssayData(solver)

PriceLab/trena documentation built on March 16, 2023, 10:01 a.m.