write_fasta | R Documentation |
Write sequences to a file in fasta format
write_fasta(seqs, file, mode = c("w", "a"), linewidth = 60)
seqs |
named character vector or list of sequences; if a list only provide one sequence per index |
file |
full path to the output file to be written; recommended file extension: .fa or .fasta |
mode |
how to write file: 'w' to initiate or overwrite; 'a' to append an existing file |
linewidth |
number of character per line (only valid for sequence, not names) |
no return; file written to disk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.