geneNamesToEnsg: Retrieve ENSEMBL gene ids from a vector of gene names

Description Usage Arguments Value

View source: R/convertGeneId.R

Description

This function will attempt to retrieve ENSEMBL gene ids from a list of gene names from the HGNC database.

Usage

1
2
3
4
5
geneNamesToEnsg(
  gene.names,
  genes.hgnc = read.delim(GENES_HGNC, stringsAsFactors = F),
  na.rough.fix = F
)

Arguments

gene.names

A character vector of gene names

genes.hgnc

A HGNC genes list as a dataframe

na.rough.fix

Convert NA values to ” ?

Value

A character vector of ENSEMBL gene ids


luannnguyen/hmfGeneAnnotation documentation built on May 6, 2020, 1:07 p.m.