Write fasta file from stringset

write_fasta(seq, path = tempfile(fileext = ".fa"))

Arguments

seq

a `Biostrings::XStringSet`

path

path of fasta file to write (default: temporary file)

Value

path to created fasta file

Examples

seq <- universalmotif::create_sequences()
# \donttest{
write_fasta(seq)
#> [1] "/tmp/RtmpzbMfpD/file265b2beb1e8.fa"
# }