as_igraph: Convert gene list to igraph object

Description Usage Arguments Value Examples

View source: R/as_igraph.R

Description

Convert a character vector of ensembl gene IDs to an igraph object using the pre-stored gene-gene interactions as undirected edges. Interactions can be filtered by their evidence score.

Usage

1
as_igraph(genes, minscore = 0)

Arguments

genes

character vector of valid ensembl gene IDs (no version suffix)

minscore

numeric between 0 and 1, minimal score for gene-gene interactions to be used

Value

igraph object

Examples

1
as_igraph(c("ENSG00000130203", "ENSG00000189058"),  0.9)

kkmann/pwcuratr documentation built on March 7, 2020, 2 a.m.