code: Create a code from a list of tuples.

View source: R/codes.R

codeR Documentation

Create a code from a list of tuples.

Description

Create a code from a list of tuples.

Usage

code(tuples, id = DEFAULT_ID, unique.set = T, sorted.set = T)

Arguments

tuples

Vector of tuples or codons as strings, e.g. c("AUC", "GCA").

id

A brief description of the code. Default is "unkn.".

unique.set

A boulian value. If true, all dublicates are removed from the set.

sorted.set

A boulian value. If true, the set is sorted in alphabetical order.

Value

A 'gcat.code' object. Derived from vector with two attributs: 1) id, 2) tsize.


informatik-mannheim/gcat-base documentation built on Nov. 7, 2023, 7:18 a.m.