validate_mapping_tbl {eHDPrep}R Documentation

Validate mapping table for semantic enrichment

Description

Applies tests to a mapping table to ensure it is valid for use with the data frame and ontological graph, in preparation for semantic enrichment.

Usage

validate_mapping_tbl(mapping_tbl, data, ontol_graph)

Arguments

mapping_tbl

data frame. Contains two columns. First column contains variable names of a primary dataset. Second column contains entities in an ontological graph to which the primary dataset's variable names are mapped.

data

data frame. Primary dataset which contains variable names referred to in first column of the mapping table

ontol_graph

ontological graph which contains entity names/IDs referred to in second column of the mapping table

Value

Any warnings and the mapping table returned invisibly


[Package eHDPrep version 1.3.3 Index]