map_to_entrez: Map UniProt or Refseq accessions to Entrez IDs

map_to_entrezR Documentation

Map UniProt or Refseq accessions to Entrez IDs

Description

Map UniProt or Refseq accessions to Entrez IDs

Usage

map_to_entrez(
  species = "human",
  abbr_species = NULL,
  from = "UNIPROT",
  filename = NULL,
  db_path = "~/proteoQ/dbs/entrez",
  overwrite = FALSE
)

Arguments

species

Character string; the name of a species for the conveninent preparation of MSig data bases. The species available for the convenience feature is in one of c("human", "mouse", "rat") with "human" being the default. The argument is not required for other species; instead, users will provide values under arguments ortho_mart for the lookup of orthologs to human.

abbr_species

Two-letter character string; the abbreviated name of species used with org.Xx.eg.db. The value of abbr_species will be determined automatically if the species is in one of c("human", "mouse", "rat"). Otherwise, for example, users need to provide abbr_species = Ce for fetching the org.Ce.eg.db package in the name space of proteoQ.

For analysis against gene ontology and Molecular Signatures, the argument is further applied to differentiate the same biological terms under different species; e.g., GO~0072686 mitotic spindle becomes hs_GO~0072686 mitotic spindle for human and mm_GO~0072686 mitotic spindle for mouse.

from

Character string; the type of accession keys in c("UNIPROT", "REFSEQ", "ACCNUM").

filename

Character string; An output file name. At the NULL default, the name will be determined automatically at a given species; i.e., msig_hs.rds for human data. The file is saved as a .rds object for uses with prnGSPA.

db_path

Character string; the local path for database(s). The default is "~/proteoQ/dbs/msig".

overwrite

Logical; if TRUE, overwrite the downloaded database(s). The default is FALSE.


qzhang503/proteoQ documentation built on March 16, 2024, 5:27 a.m.