Learn R Programming

PMAPscore (version 0.1.1)

get_Entrez_ID: Convert gene symbol to Entrez_Gene_ID

Description

The function `get_Entrez_ID` is used to convert gene symbol to Entrez_Gene_ID

Usage

get_Entrez_ID(mut_status, gene_symbol_Entrez, Entrez_ID = TRUE)

Arguments

mut_status

A binary matrix that contains the mutation state of genes in each sample and its row name is the gene symbol. Noted the matrix can be generated by the function `get_mut_status`.

gene_symbol_Entrez

A data table containing gene symbol and the corresponding gene Entrez ID.

Entrez_ID

Logical,tell whether there are Entrez IDs corresponding to gene symbol in the gene_symbol_Entrez.

Value

A binary matrix that contains the mutation state of genes in each sample and its row name is Entrez_Gene_ID.

Examples

Run this code
# NOT RUN {
#load the data.
data(mut_status,gene_symbol_Entrez)
#perform function `get_Entrez_ID`.
mut_status<-get_Entrez_ID(mut_status,gene_symbol_Entrez,Entrez_ID=TRUE)
# }

Run the code above in your browser using DataLab