check_input: Check pipeline input data for required format

Description Usage Arguments Value

View source: R/checks.R

Description

Checks if input data is valid and formatted correctly. This function is a wrapper for other check functions to be executed as first step of the molnet pipeline.

Usage

1
check_input(layers, inter_layer_connections, drug_target_interaction)

Arguments

layers

List of layers to check. Individual layers were created by make_layer and need to be wrapped in a list.

inter_layer_connections

A list containing connections between layers. Each connection was created by make_connection and wrapped in a list.

drug_target_interaction

A named list of the drug interaction data. Created by make_drug_target

Value

Character string vector containing error messages.


molnet-org/molnet documentation built on Dec. 21, 2021, 8:59 p.m.