getPotentialSwaps {birte} | R Documentation

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

### Author(s)

Holger Froehlich

### Examples

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

[Package birte version 1.22.0 Index]