addGeneName4Ensembl: Add gene nemes

Description Usage Arguments Value Examples

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

1
addGeneName4Ensembl(mart, report = "report")

Arguments

mart

See detail in function PrepareAnnotationEnsembl.

report

The report directory for adding gene names.

Value

none

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## 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)

PGA documentation built on Nov. 8, 2020, 6:20 p.m.