ListCodonMatrix: A Convenient Class to Store Codon Coordinates in given...

View source: R/allClasses.R

ListCodonMatrix-classR Documentation

A Convenient Class to Store Codon Coordinates in given Genetic Code cube.

Description

ListCodonMatrix-class objects are generated by function codon_matrix.

Usage

ListCodonMatrix(object, cube, group, seq_alias = NULL, names = NULL)

valid.ListCodonMatrix(x)

Arguments

object

A list of CodonMatrix-class objects

x

A 'ListCodonMatrix-class' object

Examples

## ListCodonMatrix-class objects are generated by function 'codon_matrix'.
## Let's create DNAStringSet-class object
base <- DNAStringSet(x = c( seq1 ='ACGTGATCAAGT',
                            seq2 = 'GTGTGATCCAGT',
                            seq3 = 'TCCTGATCAGGT'))

x1 <- codon_matrix(base)
x1

## Extract the first element
x1[1]
x1$codon.1
x1[[1]]
  

genomaths/GenomAutomorphism documentation built on May 10, 2024, 12:11 a.m.