generate_gene_mapping: Generate a Mapping Vector to Translate Gene IDs

Description Usage Arguments Value

Description

generate_gene_mapping() takes gene names from a character vector, an expression matrix / data frame, or a Seurat object, and generate a vector that can be used to translate gene IDs to the gene names provided to generate_gene_mapping(). The purpose of this translation is to make sure different datasets are consistent in the gene names used during analysis, and to thereby ensure comparsion between datasets or querying are accurate.

Usage

1

Arguments

db

a list generated by prepare_database()

...

other arguments that are passed to get_gene_names() (see below)

Value

a named character vector, in which the values are gene names and the names are gene ids


chenyenchung/genofeatutil documentation built on May 15, 2019, 10:38 p.m.