Description Usage Arguments Details Value Author(s) Examples
This function exports a standard fasta file.
1 |
fa |
fasta object |
file |
Character, specifies filename/path |
This function exports a fasta object to a standard fasta file. If no file name is given, the variable name will be used instead.
A fasta file
Daniel Fischer
1 2 3 4 5 6 7 8 9 | # Define here the location on HDD for the example file
fpath <- system.file("extdata","example.fasta", package="GenomicTools.fileHandler")
# Import the example fasta file
fastaFile <- importFA(file=fpath)
newFasta <- fastaFile[1:5]
myfile <- file.path(tempdir(), "myLocs.fa")
exportFA(newFasta, file=myfile)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.