getDataSubmodel: Extract a subgraph of the model.

Description Usage Arguments Value

View source: R/util.R

Description

Helper function for getting a submodel of the full data for creating focused unit tests

Usage

1
getDataSubmodel(model, verts)

Arguments

model

A model object like returned by loadDefaultModel.

verts

A vector containing a sequence of the concept identifiers that should be included in the returned subgraph.

Value

A new model containing only the requested concepts and their relationships.


Su-informatics-lab/DIStudio documentation built on May 5, 2020, 10:33 p.m.