Learn R Programming

ssdGSA (version 0.1.1)

transform_ensembl_2_entrez: Function to Transform ENSEMBL ID to ENTREZ ID

Description

This function is to uniform gene ID types in data matrices, i.e., from ENSEMBL ID to ENTREZ ID.

Usage

transform_ensembl_2_entrez(Data)

Value

Data matrix of gene expressions with ENSEMBL ID as row names and columns corresponding to samples will be return.

Arguments

Data

Data matrix of gene expressions with gene ensembl ID as row names and columns corresponding to different samples.

Details

Since gene IDs in data matrices from different sources may be in different formats (ensembl ID or entrez ID), this function is to transform the gene IDs in the data matrix from ensembl ID to entrez ID, to assist the following single sample directional gene set analysis.

Examples

Run this code
transform_ensembl_2_entrez(Data = data_matrix)


Run the code above in your browser using DataLab