Description Usage Arguments Details Value Author(s) See Also Examples
Generic function for updating genome tables.
1 2 |
object |
a genomes data frame to update |
... |
additional arguments are currently ignored |
update
will retrieve the new genome table using the update
string in attr(object, 'update')
. The new table will replace the existing
version, but not permanently, since reloading the dataset using data
will restore the older version. If you have write permission, one option is to use
system.file
to replace the data set (see the example below).
Returns the updated genome table and a count of the number of new IDs added and old IDs removed. Old IDs are typically assembly genomes in NCBI tables that have been released as a single complete genome.
Chris Stubben
1 2 3 4 5 6 7 | ## Not run: data(proks)
## Not run: update(proks)
# to replace the data set permanently
x <- system.file("data", "proks.rda", package="genomes")
x
## Not run: save(proks, file=x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.