Description Usage Arguments Details Value Examples
View source: R/SaveGenomeToPath.R
Saves the genome for a specified strain to a given directory
1 | SaveGenomeToPath(strainID, filePath)
|
strainID |
Character string corresponding to the strain identifier. |
filePath |
Character string corresponding to the path to the file path. Must end in '.fasta'. |
SaveGenomeToPath
saves the genome for the specified strain ID to the given
file path. If the file specified by the path already exists, it will be overwitten (with a
warning). The given strain ID must be a part of the AssessORF set, and there is no partial
matching. Otherwise, the function will error.
Note: there is no genome for strain ATCC700084, so a reference genome for the species (strain MC2155) is used instead.
Invisibly returns filePath
1 2 3 | tmpFile <- paste0(tempfile(), ".fasta")
SaveGenomeToPath("MGAS5005", tmpFile)
unlink(tmpFile)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.