Learn R Programming

birte (version 1.8.1)

getPotentialSwaps: Calculate swap partner for TF-/miRNA-target graph. This function is usually only called internally, but may be used to speed up repetitive calls to birteRun.

Description

Calculates for TF-/miRNA-target graph all potential swap partner.

Usage

getPotentialSwaps(genesets, perc.overlap.cutoff=0.8, integer.id=TRUE)

Arguments

genesets
Each entry corresponds to a regulator (miRNA, TF, other) and contains its target genes.
perc.overlap.cutoff
Percentage cutoff of minimal overlap between two miRNAs or TFs to be possible swap partner.
integer.id
If TRUE, the swap partner are not output as characters, but as integer indices.

Value

A list object, where each element corresponds to one regulator.

Examples

Run this code
# artificial data
data(humanNetworkSimul)
genesets = c(sapply(affinities2$TF, names), 
sapply(affinities2$miRNA, names), sapply(affinities2$other, names))
swaps = getPotentialSwaps(genesets)

Run the code above in your browser using DataLab