Learn R Programming

nCopula (version 0.1.1)

GeneticCodes: Obtain the Genetic Codes of a Structure

Description

Function to obtain the list of all genetic codes of a structure.

Usage

GeneticCodes(structure)

Arguments

structure

an object of class Mother (the structure)

Value

A list of the structure's genetic codes.

Examples

Run this code
# NOT RUN {
## Create the structure
structure <- GEO(0.5, NULL, list(GAMMA(1/30, c(5,6), NULL),
                           GEO(0.1, NULL, list(GAMMA(1/30, c(1,2), NULL),
                                               GAMMA(1/30, c(3,4), NULL)))))
## Get the genetic codes
GeneticCodes(structure)

# }

Run the code above in your browser using DataLab