knitr::opts_chunk$set(collapse = TRUE, comment = "#>")
write_fasta() can read/write FASTA format file into/from named character. If you feel frustrate with DNAbin or other stophisticated class, and find youself using
str_extract/replace/... repeatedly, may be you can consider this package.
fasta_to_nexus() transform that named vector to nexus format.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.