idmap_uniprotid: helper function to match a protein table to HGNC via an...

View source: R/gene_idmapping.R

idmap_uniprotidR Documentation

helper function to match a protein table to HGNC via an intermediate mapping table (e.g. MGI/RGD)

Description

typically called from export_stats_genesummary

Usage

idmap_uniprotid(proteins_long, hgnc, idmap, use_symbols = TRUE)

Arguments

proteins_long

long-format data.frame with columns uniprot_id and symbol pairs (i.e. no semicolon-delimited values)

hgnc

HGNC lookup table from hgnc_lookuptable()

idmap

MGI or RGD lookup table from mgi_lookuptable() or rgd_lookuptable()

use_symbols

boolean; use symbols to map from proteins_long to the idmap table? if FALSE, only matches by uniprot identifier


ftwkoopmans/msdap documentation built on March 5, 2025, 12:15 a.m.