Make ExperimentHubMetadata objects from metadata.csv file located in the "inst/extdata/" package directory of an ExperimentHub package.
Full path to data package including the package name; no trailing slash
Name of single metadata file located in "inst/extdata". If none is provided the function looks for a file named "metadata.csv".
makeExperimentHubMetadata: Reads the resource metadata in the metadata.csv file into a ExperimentHubMetadata object. The ExperimentHubMetadata is inserted in the ExperimentHub database. Intended for internal use or package authors checking the validity of package metadata.
A list of
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
## makeExperimentHubMetadata() reads data from inst/scripts/metadata.csv ## into ExperimentHubMetadata objects. These objects are used to insert ## metadata into the production database. This function is used internally ## by addResources() and is not intended to be called directly. ## For an example of how this works we can use the GSE62944 ExperimentHub ## package. Download the source tarball from: # http://www.bioconductor.org/packages/devel/data/experiment/html/GSE62944.html ## and unpack it. Set 'pathToPackage' to point to the downloaded source. ## Then call the function: ## Not run: makeExperimentHubMetadata("path/to/mypackage") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.