targetedGenes {pandaR} | R Documentation

## 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

    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)

[Package pandaR version 1.18.0 Index]