I have an ExperimentData package that I am working to convert into an ExperimentHub
package. The package is called sceptredata
and is available on Github.
One of the datasets contained within sceptredata
is a single-cell dataset stored in 10x Cell Ranger feature barcode format. The data are located in the inst/extdata/highmoi_example
directory of the package. The directory structure for the example data is as follows:
- highmoi_example
- gem_group_1
- barcodes.tsv.gz
- features.tsv.gz
- matrix.mtx.gz
- gem_group_2
- barcodes.tsv.gz
- features.tsv.gz
- matrix.mtx.gz
It is important that the data be stored using these file names and using this directory structure. Is it possible for me to preserve this directory structure upon converting my package into an ExperimentHub package? Should I zip the directory highmoi_example
so that it can be treated as a single file (and then somehow programmatically unzip highmoi_example
upon download of the dataset)?
In summary, is there a protocol for handling data that have some directory structure in the context of ExperimentHub
? Thanks in advance for anyone who is able to chip in.
Thanks, this is helpful. I will take a look at these examples.