Generic function to filter either an igraph object or a PPI network
gfilter(
method = NULL,
g = NULL,
val = NULL,
use_ppi,
igraph_method = NULL,
n = 100,
desc = TRUE,
...
)
igraph
str
igraph object
named numeric vector - some measure of node state (i.e. gene expression in the case of a PPI)
bool - should we use a ppi from online repository?
bool - is the user-provided method an igraph node scoring function?
int - number of nodes to include in the returned subgraph
bool - do we want the top or bottom examples of the provided metric
additional params passed to load_ppi()
or compute_crosstalk()
gfilter.ct, gfilter.np, gfilter.igraph_method