View source: R/write_list_to_fasta.R
write.list_to_fasta | R Documentation |
This function takes a list of sequences and writes them to a FASTA file. The name of the list is used as the base name for the output file with the .fasta extension. Each sequence in the list is written to the output file in FASTA format with the sequence name as the header.
write.list_to_fasta(sequence_list)
sequence_list |
A list of sequences where each element of the list is a character string representing a single sequence. |
sequences <- list("ACGT", "ATCG")
write.list_to_fasta(sequences)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.