validateSharedMetaData: Meta data validation

View source: R/fileRead.R

validateSharedMetaDataR Documentation

Meta data validation

Description

Valides the meta data using services from configuration

Usage

validateSharedMetaData(metaData, expectedDataFormat = NULL, errorEnv = NULL)

Arguments

metaData

A "data.frame" of two columns containing the Meta data for the experiment

expectedDataFormat

A "data.frame" of three columns and the same number of rows as metaData describing the Meta data data frame and its expected classes. Columns:

headers

tring values of the experiment meta data to extract

class

String value of the expected class of the given value

isNullable

Boolean containing whether the field can be empty

errorEnv

An environment to send error messages to

Details

Example expectedDataFormat can be found in generic_data_parser.R

Value

A data.frame containing the validated meta data


mcneilco/racas documentation built on April 19, 2024, 1:12 p.m.