FastaFile objects
These functions support the import and export of the Fasta sequence format, using the Biostrings package.
## S4 method for signature 'FastaFile,ANY,ANY' import(con, format, text, type = c("DNA", "RNA", "AA", "B"), ...) ## S4 method for signature 'ANY,FastaFile,ANY' export(object, con, format, ...) ## S4 method for signature 'XStringSet,FastaFile,ANY' export(object, con, format, ...)
con |
A path or |
object |
The object to export, should be an |
format |
If not missing, should be “fasta”. |
text |
If |
type |
Type of biological sequence. |
... |
Arguments to pass down
to |
The FastaFile
class extends RTLFile
and is a
formal represention of a resource in the Fasta format.
To cast a path, URL or connection to a FastaFile
, pass it to
the FastaFile
constructor.
Michael Lawrence
These functions are implemented by the Biostrings
writeXStringSet
(export) and the
readDNAStringSet
family of functions
(import).
See export-methods in the BSgenome package for exporting a BSgenome object as a FASTA file.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.