targetedGenes: targetedGenes

View source: R/algorithm_functions.R

targetedGenesR 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)

jnpaulson/pandaR documentation built on May 13, 2024, 11:30 a.m.