getPotentialSwaps: Calculate swap partner for TF-/miRNA-target graph. This...

Description Usage Arguments Value Author(s) Examples

View source: R/getPotentialSwaps.R

Description

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

Usage

1
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.

Author(s)

Holger Froehlich

Examples

1
2
3
4
5
# artificial data
data(humanNetworkSimul)
genesets = c(sapply(affinities2$TF, names), 
sapply(affinities2$miRNA, names), sapply(affinities2$other, names))
swaps = getPotentialSwaps(genesets)

birte documentation built on May 2, 2019, 12:32 a.m.