Method to filter graph based on any igraph method that scores verticies.
gfilter.igraph_method(g, use_ppi = TRUE, method, n = 500, desc, val_name, ...)
igraph
igraph object
bool - should we use a ppi from online repository?
str
int - number of nodes to include in the returned subgraph
bool - do we want the top or bottom examples of the provided metric
str
additional parameters passed to load_ppi