paste_gene_symbols: Function to zip together a vector of entrez_ids with the gene...

Description Usage Arguments Value

View source: R/id_mapping.R

Description

Function to zip together a vector of entrez_ids with the gene symbol corresponding to each. The returned vector is in the form c("10000|AKT3", "1234|CCR5", ...)

Usage

1
paste_gene_symbols(entrez_ids, entrezgene_db, collapse_character = "|")

Arguments

entrez_ids

a vector of NCBI entrez gene ids.

entrezgene_db

an AnnotationDbi-style database for use in obtaining the symbols corresponding to the gene ids.

collapse_character

a single character for use in collapsing gene.id and gene.symbol into "gene.id|gene.symbol".

Value

a vector of "gene.id|gene.symbol" entries.


russHyde/miiq documentation built on Dec. 25, 2019, 10:56 a.m.