dot-ensg_to_name: Convert ENSG IDs -> gene names

.ensg_to_nameR Documentation

Convert ENSG IDs -> gene names

Description

Attempts to convert ENSG IDs to gene names (hgnc_symbol). This is attempting using biomaRt's service and thus requires the optional biomaRt package to be installed.

Usage

.ensg_to_name(
  dat,
  ensg_col = "trait",
  new_col = "hgnc_symbol",
  build = "grch37"
)

Arguments

dat

Data.frame of data

ensg_col

Column name containing ENSG IDs (Optional)

new_col

Column to append to 'dat' with converted names (Optional)

build

Genomic build (Optional)

Value

Data.frame with appended column for names


jwr-git/mrpipeline documentation built on Oct. 2, 2022, 3:41 p.m.