Skip to contents

Enriches a data frame like process_tibble_uniprot() while avoiding repeated UniProt requests for accessions already present in a local RDS cache.

Usage

process_tibble_uniprot_cached(
  data,
  cache_path = NULL,
  accession_col = "accession",
  accession_source_col = "accession_source",
  entry_name_col = "entry_name",
  protein_name_col = "protein_name",
  gene_name_col = "gene_name"
)

Arguments

data

A data frame containing accession and accession source columns.

cache_path

Optional RDS file path for cached parsed UniProt records.

accession_col

The accession column name.

accession_source_col

The accession source column name.

entry_name_col

The entry name column name.

protein_name_col

The protein name column name.

gene_name_col

The gene name column name.

Value

A data frame with UniProt fields filled where available.