pasteSorted: Paste two vectors sorted pairwise

View source: R/genotypeToCharacter.R

pasteSortedR Documentation

Paste two vectors sorted pairwise

Description

Read a configuration file

Usage

pasteSorted(a, b, sep="/")

Arguments

a

vector 1

b

vector 2

sep

a character string to separate the terms.

Value

A character vector of the concatenated values, sorted pairwise.

Author(s)

Stephanie Gogarten

See Also

paste

Examples

a <- c("A","C","G","T")
b <- c("C","A","T","G")
pasteSorted(a,b)

smgogarten/GWASTools documentation built on July 4, 2023, 2:32 a.m.