# Get path to the rearrangement-example file
f1 <- system.file("extdata", "repertoire-example.yaml", package="airr")
f2 <- system.file("extdata", "germline-example.json", package="airr")
# Load data file
repertoire <- read_airr(f1)
germline <- read_airr(f2)
# Validate a single record
validate_airr(repertoire)
# Return validation for individual objects
validate_airr(germline, each=TRUE)
Run the code above in your browser using DataLab