Learn R Programming

pandaR (version 1.4.2)

targetedGenes: targetedGenes

Description

Gets a set of genes targeted by a specified transcription factor. This function can be applied to a graph that is not complete, subsetting the edges which have non-zero edge weight. See function topEdges for dichotomizing edgeweights.

Usage

targetedGenes(x, tfs)

Arguments

x
an object of class "panda"
tfs
transcription factors to query

Value

  • A vector of targeted genes

Examples

Run this code
data(pandaToyData)
pandaRes <- panda(pandaToyData$motif,
           pandaToyData$expression,pandaToyData$ppi,hamming=.001)
topPandaRes <- topedges(pandaRes,1000)
targetedGenes(topPandaRes,c("AR","ELK1"))
data(pandaResult)
topPandaRes <- topedges(pandaResult,1000)

Run the code above in your browser using DataLab