ref_sequence <- function(alignment) {
# Alignment as simple matrix
m <- remove_align_mat_class(alignment)
# First (reference) sequence in the alignment.
ref_seq <- m[1, ]
return(ref_seq)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.