GeneNames: GeneNames

Description Usage Arguments Value

View source: R/helper.R

Description

Extract gene IDs

Usage

1
GeneNames(data, symbol = ":", what = "Name")

Arguments

data

character vector. A vector of IDs. Each entry may contain two ID separated by a symbol e.g. EnsemblID:MarkerName.

symbol

character. The separator used. Default is the symbol ':'.

what

character. Which of the above two IDs (if two) to keep. Options are 'Name' (default) to keep the marker name or 'Other' to keep the other ID. If each entry consists of one ID then this is the one kept.

Value

A vector of IDs


dianalow/nMyo documentation built on June 2, 2020, 12:03 a.m.