Write.fasta | R Documentation |
Simple writing of 'FASTA' files
Write.fasta(df, file)
df |
Name of data frame |
file |
File name |
Simple writing of 'FASTA' files. If the data frame has more then two columns, only two first columns will be used (with warning).
'FASTA' file on the disk.
Alexey Shipunov
ff <- data.frame(one="some_id", two="ATGC", three="something else") Write.fasta(ff, file=file.path(tempdir(), "tmp.fasta")) # warning will be produced file.show(file=file.path(tempdir(), "tmp.fasta")) # interactive
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.