addGeneName4Ensembl: Add gene nemes

addGeneName4EnsemblR Documentation

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

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


## End(Not run)

wenbostar/PGA documentation built on March 24, 2022, 6:48 p.m.