case: Convert case of a bstring sequence.

Description Usage Arguments Examples

Description

Convert case of a bstring sequence.

Usage

1
2
3
4
5
bstr_to_upper(bstrobj)

bstr_to_lower(bstrobj)

bstr_switch_case(bstrobj)

Arguments

bstrobj

bstr class object or character vector

Examples

1
2
3
4
5
6
7
temp <- dstr_rand_seq(1, 10, "[atgcATGC]", seed = 1)
c(
  temp,
  upper = bstr_to_upper(temp),
  lower = bstr_to_lower(temp),
  switch = bstr_switch_case(temp)
)

t-arae/bstringr documentation built on March 18, 2021, 3:08 a.m.