add_at: Add or remove '_at' from string

Description Usage Arguments Value Author(s) Examples

View source: R/add_at.R

Description

Adds (add_at) or removes (add_at) the string "_at" suffix from a character vector. The "_at" is often added by various bioconductor microarray preprocessing packages.

Usage

1
2
3
add_at(x)

rm_at(x)

Arguments

x

A character vector of feature name

Value

add_at and rm_at both return a character of the same length as x with and without "_at", respectively.

Author(s)

Anders Ellern Bilgrau <anders.ellern.bilgrau (at) gmail.com>

Examples

1
2
add_at(c("hello", "world", "with_at"))
rm_at(c("hello_at", "world_at", "nc"))

AEBilgrau/Bmisc documentation built on Jan. 17, 2019, 10:10 a.m.