This function writes the example dataset to the 'data' directory This presents the data in a way where users will understand the various files they must provide for the TimeSeriesAnalysis pipeline as well as their format.

Having these files written as tab delimited and csv allows users to open them and see the formatting expected by TimeSeriesAnalysis

Three example datasets are available. The choice is done via the data_name parameter.

write_example_data_to_dir(data_name = "PBMC", target_dir = NULL)

Arguments

data_name

Name of the data to be written to the directory. Either 'PBMC', 'murine', or 'celegans'

target_dir

Where the saves should be located, if NULL, it will be saved to the main directory

Value

None

Examples

path <- tempfile()
bfc <- BiocFileCache(path, ask = FALSE)
bfc_cache<-slot(bfc,'cache')
write_example_data_to_dir(target_dir=bfc_cache)