powered by
Returns the path to the directory storing the example files shipped with metabodecon.
Deprecated since metabodecon v1.2.0. Please use datadir() instead. See examples below for usage.
datadir()
get_data_dir(dataset_name = c("", "blood", "test", "urine"), warn = TRUE)
Path to the directory storing the example files.
Either "", "test", "blood" or "urine".
""
"test"
"blood"
"urine"
Whether to print a warning message when the example folders do not yet exist, i.e. download_example_datasets() has not been called yet.
download_example_datasets()
2024-2025 Tobias Schmidt: initial version.
x <- get_data_dir("urine") # Deprecated y <- datadir("example_datasets/bruker/urine") # Preferred cat(x, y, sep = "\n")
Run the code above in your browser using DataLab