get_Entrez_ID {PMAPscore}R Documentation

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

#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)

[Package PMAPscore version 0.1.1 Index]