dashNotDot: Convert dashes (-) to dots(.)

View source: R/makeQueryTable.R

dashNotDotR Documentation

Convert dashes (-) to dots(.)

Description

Convert a character vector to lowercase and replace "-" with "." Values are NA if the new value is identical to the original value.

Usage

dashNotDot(ab)

Arguments

ab

(character(n)) A vector of strings to transform

Value

A character vector of the same length as the input vector ab, with dots (".") replaced by dashes ("-") and NA where entries are unchanged

Author(s)

Helen Lindsay

Examples

dashNotDot(c("IL.2R", "CD4"))

HelenLindsay/AbNames documentation built on June 6, 2023, 1:18 p.m.