transform_ensembl_2_entrez {ssdGSA} | R Documentation |
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)
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.
Value
Data matrix of gene expressions with ENSEMBL ID as row names and columns corresponding to samples will be return.
Examples
transform_ensembl_2_entrez(Data = data_matrix)
[Package ssdGSA version 0.1.1 Index]