strSort: String Character Sorting

Description Usage Arguments Value Examples

View source: R/normalizingOperations.R

Description

Split a character vector on a delimeter, and sort the resulting pieces Useful for sorting the output of 'interaction()'.

Usage

1
strSort(x, splitter = ".")

Arguments

x

A character vector. Factors or numerics will be coerced with 'as.character'

splitter

A character vector which divides the inputs into pieces

Value

A character vector

Examples

1
2
x <- c("zZaAG", 'AtC_Z')
strSort(x,splitter="")

wjhopper/whoppeR documentation built on May 4, 2019, 7:33 a.m.