addGeneName4Ensembl {PGA} | R 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)

[Package PGA version 1.14.0 Index]