sponge_network: Prepare a sponge network for plotting

View source: R/fn_plots.R

sponge_networkR Documentation

Prepare a sponge network for plotting

Description

Prepare a sponge network for plotting

Usage

sponge_network(
  sponge_result,
  mir_data,
  target.genes = NULL,
  show.sponge.interaction = TRUE,
  show.mirnas = "none",
  min.interactions = 3
)

Arguments

sponge_result

ceRNA interactions as produced by the sponge method.

mir_data

miRNA interactions as produced by sponge_gene_miRNA_interaction_filter

target.genes

a character vector to select a subset of genes

show.sponge.interaction

whether to connect ceRNAs

show.mirnas

one of none, shared, all

min.interactions

minimum degree of a gene to be shown

Value

a list of nodes and edges

Examples

sponge_network(ceRNA_interactions, mir_interactions)

mlist/SPONGE documentation built on Feb. 12, 2023, 1:22 a.m.