validate_airr {airr}R Documentation

Validate AIRR data

Description

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

Usage

validate_airr(data, schema = RearrangementSchema)

Arguments

data

data.frame to validate.

schema

Schema object defining the data standard.

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_airr(df, schema=RearrangementSchema)


[Package airr version 1.3.0 Index]