| imd_schema_sym | R Documentation |
These helpers expose package constants for extension developers. They are not
needed for routine biological analysis. Use imd_schema() for a standard
column name and make_receptor_schema() to define biological receptors.
The functions remain exported for compatibility with packages that extend
immundata, but their values describe implementation details and may grow as
the storage format develops.
imd_schema_sym(key = NULL)
imd_meta_schema()
imd_files()
imd_repertoire_schema(format = "airr")
imd_receptor_features(schema)
imd_receptor_chains(schema)
key |
A character string or |
format |
A character string. For |
schema |
A receptor-schema list. For |
imd_schema_sym() returns an rlang symbol for one standard column. With
key = NULL, it returns the complete named schema list.
imd_meta_schema() returns a named list of fields used in
metadata.json.
imd_files() returns a named list of standard snapshot file names.
imd_repertoire_schema() returns the configured preset for format, or
NULL when no preset is configured.
imd_receptor_features() returns the character vector in
schema$features.
imd_receptor_chains() returns the character vector in schema$chains, or
NULL for a chain-agnostic schema.
schema <- make_receptor_schema(
features = c("junction_aa", "v_call"),
chains = c("TRA", "TRB")
)
imd_receptor_features(schema)
# Expected result: c("junction_aa", "v_call")
imd_receptor_chains(schema)
# Expected result: c("TRA", "TRB")
imd_files()
# Lists the standard metadata and Parquet file names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.