makeAnnotationHubMetadata {AnnotationHubData} | R Documentation |
Make AnnotationHubMetadata objects from .csv files located in the "inst/extdata/" package directory of an AnnotationHub package.
makeAnnotationHubMetadata(pathToPackage, fileName=character())
pathToPackage |
Full path to data package including the package name; no trailing slash |
fileName |
Name of metadata file(s) with csv extension. If none are provided, all files with .csv extension in "inst/extdata" will be processed. |
makeAnnotationHubMetadata: Reads the resource metadata from .csv files into a AnnotationHubMetadata object. The AnnotationHubMetadata is inserted in the AnnotationHub database. Intended for internal use or package authors checking the validity of package metadata.
A named list the length of fileName
. Each element is a list of
of AnnotationHubMetadata
objects created from the .csv file.
## Not run: makeAnnotationHubMetadata("path/to/mypackage") ## End(Not run)