fg.subgraph: Generate an induced subgraph

Description Usage Arguments Details Value Author(s)

Description

Generate an induced subgraph that contains the specified vertices from the input given graph.

Usage

1
2
fg.fetch.subgraph(graph, vertices, name = paste(graph$name, "-sub", sep = ""),
  compress = TRUE)

Arguments

graph

The FlashGraph object

vertices

A numeric vector that contains the ids of vertices in the induced subgraph.

name

The name of the FlashGraph object.

compress

This indicates whether to remove empty vertices in the generated subgraph.

Details

‘fg.fetch.subgraph’ generates the induced subgraph and returns a FlashGraph object.

Value

‘fg.fetch.subgraph’ returns a FlashGraph object

Author(s)

Da Zheng <dzheng5@jhu.edu>


flashxio/FlashGraphR documentation built on May 8, 2019, 11:11 p.m.