ListCodonMatrix-class | R Documentation |
ListCodonMatrix-class objects are generated by function codon_matrix.
ListCodonMatrix(object, cube, group, seq_alias = NULL, names = NULL)
valid.ListCodonMatrix(x)
object |
A list of CodonMatrix-class objects |
x |
A 'ListCodonMatrix-class' object |
## 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]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.