View source: R/nexml_publish.R
nexml_figshare | R Documentation |
publish nexml to figshare
nexml_figshare( nexml, file = "nexml.xml", categories = "Evolutionary Biology", tags = list("phylogeny", "NeXML"), visibility = c("public", "private", "draft"), id = NULL, ... )
nexml |
a nexml object (or file path to a nexml file) |
file |
The filename desired for the object, if nexml is not already a file. if the first argument is already a path, this value is ignored. |
categories |
The figshare categories, must match available set. see |
tags |
Any keyword tags you want to add to the data. |
visibility |
whether the results should be published (public), or kept private, or kept as a draft for further editing before publication. (New versions can be updated, but any former versions that was once made public will always be archived and cannot be removed). |
id |
an existing figshare id (e.g. from fs_create), to which this file can be appended. |
... |
additional arguments |
the figshare id of the object
## Not run: data(bird.orders) birds <- add_trees(bird.orders) doi <- nexml_figshare(birds, visibility = "public", repository="figshare") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.