validate_tabular: Validate tabular AIRR data

View source: R/Interface.R

validate_tabularR Documentation

Validate tabular AIRR data

Description

validate_tabular validates compliance of the contents of a data.frame to the AIRR standards.

Usage

validate_tabular(data, schema)

validate_rearrangement(data)

Arguments

data

data.frame of tabular data to validate.

schema

Schema object defining the data standard of the table.

Details

validate_rearrangement validates the standards compliance of AIRR Rearrangement data stored in a data.frame

Value

Returns TRUE if the input data is compliant and FALSE if not.

Examples

# Get path to the rearrangement-example file
file <- system.file("extdata", "rearrangement-example.tsv.gz", package="airr")

# Load data file
df <- read_rearrangement(file)

# Validate a data.frame against the Rearrangement schema
validate_rearrangement(df)


airr documentation built on Aug. 30, 2023, 1:08 a.m.