targetedGenes: targetedGenes

Description Usage Arguments Value Examples

View source: R/algorithm_functions.R

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

1
targetedGenes(x, tfs)

Arguments

x

an object of class "panda"

tfs

transcription factors to query

Value

A vector of targeted genes

Examples

1
2
3
4
5
6
7
8
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)

pandaR documentation built on Nov. 8, 2020, 5:56 p.m.