validate_study: Validate a study

View source: R/validate-by-study.R

validate_studyR Documentation

Validate a study

Description

Run validation checks for a single study and return the results. Validation checks are run via 'dccvalidator::check_all()'. It is assumed that there is, at most, one row per metadataType in the 'study_table' passed in.

Usage

validate_study(study_table, annotations, syn, study)

Arguments

study_table

Tibble with fileview information for a single study. Expected columns are: 'metadataType', 'file_data' (tibble column with data for each file), 'assay', 'species', 'biospecimen_type' (optional). Should have, at most, one row per metadataType.

annotations

A data frame of annotation definitions. Must contain at least three columns: 'key', 'value', and 'columnType'.

syn

Synapse client object.

study

Name of the study.

Value

Named list of check results. Returns 'NULL' if there are no rows.


Sage-Bionetworks/dccmonitor documentation built on May 28, 2022, 10:39 a.m.