Write example peaks datasets to disk.

write_example_peaks(
  dir = file.path(tempdir(), "processed_results"),
  datasets = c("encode_H3K27ac", "CnT_H3K27ac", "CnR_H3K27ac")
)

Arguments

dir

Directory to save peak files to.

datasets

Example datasets from EpiCompare to write.

Value

Named vector of paths to saved peak files.

Examples

save_paths <- EpiCompare::write_example_peaks()
#> Writing ==> /tmp/Rtmpr0qXZQ/processed_results/encode_H3K27ac.narrowPeaks.bed
#> Writing ==> /tmp/Rtmpr0qXZQ/processed_results/CnT_H3K27ac.narrowPeaks.bed
#> Writing ==> /tmp/Rtmpr0qXZQ/processed_results/CnR_H3K27ac.narrowPeaks.bed