addGeneNames: Add Gene Names

View source: R/addGeneNames.R

addGeneNamesR Documentation

Add Gene Names

Description

Just a quick way to convert gene matrices with ENSGs as row.names to data tables with columns for human readable gene names and ENSGs.

Usage

addGeneNames(x, t2g = NULL)

Arguments

x

Expression matrix (or any matrix) that has ENSG IDs as row.names

t2g

Transcript to Genename table for mapping (if available). If none is supplied then will generate one from BioMart (takes longer).

Value

Data table with columns for gene names and ENSG IDs.


genejockey33000/typGumbo documentation built on July 20, 2023, 11:45 p.m.