ig_tabToIgraph: Create an igraph object for the gene regulatory network.

View source: R/buildGRN_method.R

ig_tabToIgraphR Documentation

Create an igraph object for the gene regulatory network.

Description

Helper function of buildGRN.

Usage

ig_tabToIgraph(grnTab, simplify = FALSE, directed = FALSE, weights = TRUE)

Arguments

grnTab

matrix; table containing gene regulatory relationships. Table of TF, TF, maybe zscores, maybe correlations.

simplify

boolean; simplify the graph. For example, remove loops.

directed

boolean; create a directed or undirected graph.

weights

boolean; add gene correlations as weights of the graph.

Value

iGraph object.


edroaldo/fusca documentation built on March 1, 2023, 1:43 p.m.