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.


DrugInfoStudio/DIStudio documentation built on April 30, 2020, 6:58 a.m.