View source: R/prep_metadata.r
getmd | R Documentation |
Read in the metadata from the default or a custom metadata file
located in the metadata-folder. By providing the argument 'expName' to the
function you can override the experiment name as specified in the metadata.r
file. This can be useful e.g. if you want to load a different file using
gfd
.
getmd(fn = "def", ...)
fn |
Character length one. The filename of the metadata file to load. If left at 'def', the default filename for a metadata-file as specified in the settings (what is "metadata.r") is read in. Provide any other valid name of a metadata-file to load it. (Do not forget the '.r' at the end.) |
... |
Provide the argument 'expName' to override the experiment name specified in the metadata.r file. |
The name of the default metadata-file can be specified in the settings.
Only the experiment name can be changed via the ...
argument by providing
the argument 'expName'. Other arguments will be ignored.
An (invisible) list with all the metadata of the experiment.
metadata_file
, getap
, gdmm
## Not run:
md <- getmd(); str(md); names(md)
md <- getmd("myFile.r")
md <- getmd(expName="OtherName") # to override the experiment name as specified
# in the metadata.r file.
dataset <- gfd(getmd(expName="OtherName"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.