revvec: Provide the 'mirror image' of a vector, especially of...

View source: R/genoconverters.R

revvecR Documentation

Provide the 'mirror image' of a vector, especially of positions.

Description

Provide the 'mirror image' of a vector, especially of positions.

Usage

revvec(vec)

Arguments

vec

A (possibly named) numeric vector.

Examples

distvec <- c(A = 0, B = 3, C = 10)
revvec(distvec)

alexwhan/genomap documentation built on March 1, 2025, 10:13 a.m.