Skip to contents

Marker namespaces and accessions are normalized before indexed lookups, and every curated GIFT type is searched. The result retains unmatched observations, making marker use auditable.

Usage

map_markers(annotation_table, namespace = NULL, db = NULL)

Arguments

annotation_table

A data frame with `namespace` and `accession` columns and an optional `gene_id` column, or a character vector of marker accessions.

namespace

Namespace for a character-vector input. If omitted, KO, EC, Pfam, TIGRFAM, NCBIfam and CAZy accessions are inferred where possible.

db

Optional open gifter database connection.

Value

A long-form tibble linking each observation to zero or more curated components. `gift_type` names the completeness model a row belongs to: metabolic rows carry `reaction_id`, and the machinery types carry `function_id`. Component keys are unique only within a model, so compare them together with `gift_type`. `matched` is `FALSE` for unused markers.