Learn R Programming

PGA (version 1.2.2)

addGeneName4Ensembl: Add gene nemes

Description

Add "gene name" column to the attachments (eg. snv.tsv and idl.tsv) of report if there is a demand (optional function). This function is useful for "Ensembl" IDs.

Usage

addGeneName4Ensembl(mart, report = "report")

Arguments

mart
See detail in function PrepareAnnotationEnsembl.
report
The report directory for adding gene names.

Value

none

Examples

Run this code
## Not run: 
# library(PGA)
# # set the biomaRt parameters just as "PrepareAnnotationEnsembl2" did
#  
# mart <- biomaRt::useMart("ENSEMBL_MART_ENSEMBL",
#         dataset="hsapiens_gene_ensembl",
#         host="feb2012.archive.ensembl.org", 
#         path="/biomart/martservice",
#         archive=FALSE)
# addGeneName4Ensembl(mart=mart,report="report")
# 
# ## End(Not run)

Run the code above in your browser using DataLab