Learn R Programming

NetRep (version 1.0.2)

filterInternalProps: Filter structure returned by 'netPropsInternal' to specified test datasets

Description

Used in the plot functions to filter the structure to the 'orderNodesBy' and 'orderSamplesBy' test datasets.

Usage

filterInternalProps(props, test, discovery, modules = NULL)

Arguments

props
nested list returned by netPropsInternal.
test
a vector of datasets to filter to.
discovery
a vector containing a single discovery dataset specified in the parent plot function.
modules
a vector of modules from the specified discovery dataset to filter to. If NULL, then all modules are kept.

Value

a nested list structure identical to that returned by 'netPropsInternal', but where only the entries for test datasets specified by the test argument and modules specified by the modules argument contain non-NULL entries.