Description Usage Arguments Value Author(s) Examples
View source: R/get_potential_swaps.R
Calculates for TF-/miRNA-target graph all potential swap partner.
1 | get_potential_swaps(genesetsTF=NULL, genesetsmiRNA=NULL, perc.overlap.cutoff = 0.8, integer.id=TRUE, verbose=TRUE)
|
genesetsTF |
Each entry corresponds to a TF and contains its target genes. |
genesetsmiRNA |
Each entry corresponds to a miRNA 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 outputted as characters, but as integer indices. |
verbose |
print process or not. |
The function returns a list, with the following entries:
T_potential_swaps |
Contains for each TF all potential swap partner. |
S_potential_swaps |
Contains for each miRNA all potential swap partner. |
Benedikt Zacher (zacher@lmb.uni-muenchen.de)
1 2 3 | genesetsTF = list("V$1"=c("A", "B", "C", "D", "E"), "V$2"=c("A", "B", "C", "D"), "V$3"=c("A", "B", "C"))
genesetsmiRNA =list("miR-1"=c("C", "E", "D", "G", "H"), "miR-2"=c("C", "E", "D", "G"), "miR-3"=c("C", "E"))
get_potential_swaps(genesetsTF, genesetsmiRNA, integer.id=FALSE, perc.overlap.cutoff=0.7)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.