gfilter {crosstalkr}R Documentation

Generic function to filter either an igraph object or a PPI network

Description

Generic function to filter either an igraph object or a PPI network

Usage

gfilter(
  method = NULL,
  g = NULL,
  val = NULL,
  use_ppi,
  igraph_method = NULL,
  n = 100,
  desc = TRUE,
  ...
)

Arguments

method

str

g

igraph object

val

named numeric vector - some measure of node state (i.e. gene expression in the case of a PPI)

use_ppi

bool - should we use a ppi from online repository?

igraph_method

bool - is the user-provided method an igraph node scoring function?

n

int - number of nodes to include in the returned subgraph

desc

bool - do we want the top or bottom examples of the provided metric

...

additional params passed to load_ppi() or compute_crosstalk()

Value

igraph

See Also

gfilter.ct, gfilter.np, gfilter.igraph_method


[Package crosstalkr version 1.0.5 Index]