hub_metadata | R Documentation |
This functions makes a list of values that can be used to add as a
resource to a 'metadata.csv' file in a Hub package. The type of
each argument indicates the expected value, e.g., Title = character(1)
indicates that it is expected to be a character
vector of length 1. See individual parameters for more information.
hub_metadata(
Title = character(1),
Description = character(1),
BiocVersion = package_version("0.0"),
Genome = character(1),
SourceType = character(1),
SourceUrl = character(1),
SourceVersion = character(1),
Species = character(1),
TaxonomyId = integer(1),
Coordinate_1_based = NA,
DataProvider = character(1),
Maintainer = character(1),
RDataClass = character(1),
DispatchClass = character(1),
Location_Prefix = character(1),
RDataPath = character(1),
Tags = character()
)
Title |
|
Description |
|
BiocVersion |
The two-digit version of Bioconductor the
resource is being introduced into. Could be a character vector
|
Genome |
|
SourceType |
|
SourceUrl |
|
SourceVersion |
|
Species |
|
TaxonomyId |
|
Coordinate_1_based |
|
DataProvider |
|
Maintainer |
|
RDataClass |
|
DispatchClass |
A number of dispatch classes are pre-defined in AnnotationHub/R/AnnotationHubResource-class.R with the suffix `Resource`. For example, if you have sqlite files, the AnnotationHubResource-class.R defines SQLiteFileResource so the DispatchClass would be SQLiteFile. Contact maintainer@bioconductor.org if you are not sure which class to use. The function `AnnotationHub::DispatchClassList()` will output a matrix of currently implemented DispatchClass and brief description of utility. If a predefine class does not seem appropriate contact maintainer@bioconductor.org. |
Location_Prefix |
|
RDataPath |
|
Tags |
|
None
hub_metadata()
tst <- hub_metadata(
Title = "ENCODE",
Description = "a test entry",
BiocVersion = package_version("3.9"),
Genome = NA_character_,
SourceType = "JSON",
SourceUrl = "https://www.encodeproject.org",
SourceVersion = package_version("0.0"),
Species = NA_character_,
TaxonomyId = NA_integer_,
Coordinate_1_based = NA,
DataProvider = "ENCODE Project",
Maintainer = "tst person <tst@email.com>",
RDataClass = "data.table",
DispatchClass = "Rda",
Location_Prefix = NA_character_,
RDataPath = "ENCODExplorerData/encode_df_lite.rda",
Tags = c("ENCODE", "Homo sapiens")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.