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 May 18, 2024, 1:19 a.m.