Construct a graph from a given adjacency matrix
buildGraph(adjMatrix, geneset_df = NULL, gs_names = NULL)A Matrix::Matrix() indicating for which pair of nodes an
edge should be added; 1 indicating an edge, 0 indicating no
edge.
data.frame, a data.frame of genesets with at least two
columns, one called Genesets containing geneset
identifiers and one called Genes containing a list of
genes belonging to the individual genesets.
vector, a vector of geneset descriptions/names, e.g. the
Term / Description column of geneset_df.
An igraph object to be further manipulated or processed/plotted
(e.g. via igraph::plot.igraph() or
visNetwork::visIgraph())