ciper: cipher Calls base::chartr to scramble input based on a set...

View source: R/cipher.R

ciperR Documentation

cipher Calls base::chartr to scramble input based on a set key and seed. For amino acids, single letter codes are: GPAVLIMCFYWHKRQNEDST

Description

cipher Calls base::chartr to scramble input based on a set key and seed. For amino acids, single letter codes are: GPAVLIMCFYWHKRQNEDST

Usage

ciper(input, seed, key = c(LETTERS))

Arguments

input

Character vector of strings to encode.

seed

Parameter to pass to set.seed for reproducibility.

key

Poissible characters to found in input and to include in output.


brandonsie/bms documentation built on Nov. 17, 2023, 11:38 a.m.