This is a pointer to an R data package. The result should be an installable R data package, with documentation for the data objects published therein.
Objects can be created by calls of the form
The current version of the generated data package
A character vector of packages that the data package depends on.
The author(s) of the data package.
The maintainer(s) of the data package. Defaults to the same person as the author.
What license to use when creating the data package.
The description of the data package.
Rd string for package-level help for the generated data package.
Name of the data package.
The title of the package
The directory in which the data package is generated.
Retrieve the list of dependencies for the data package.
Set the list of dependencies for the data package.
This is the final step in publishing objects to the data pacakge. It recreates the DESCRIPTION file for the data package. The package name, title, version, author, maintainer, dependencies, license and description are set from the appropriate slots in the DataPackage object.
1 2 3 4 5 6 7 8 9 10 11
my.df <- data.frame(EGID = c("103", "104", "105", "106", "107"), RPKM = c(4, 5, 3, 100, 75), DE = c("Yes", "Yes", "No", "No", "No")) data.package <- DataPackage('MyPackage', title = "My awesome package", author = "J.J. Nobody", maintainer = "J.J. Nobody <firstname.lastname@example.org>") publish('my.df', data.package) dependencies(data.package) # Returns "Biobase" dependencies(data.package) <- c('Biobase','GSEABase') finish(data.package)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.