A function to get the count file for **chromVAR**.
getCount(
sample_list,
cut_path,
peak_path,
peak_suffix = "_peaks_unique.narrowPeak.bed",
save_file_path = NA
)
Input a vector containing the names of the samples.
The cuts directory obtained by running snakmake.
The cuts directory obtained by running snakmake.
The suffix of the peaks. Default: "_peaks_unique.narrowPeak.bed".
The path to save files.
getCount(sample_list=c("s1","s2","s3","s4"), cut_path = "~/snakemake/cuts/", peak_path = "~/snakemake/peaks/", save_file_path = "~/count")
#> Warning: cannot open file 'C:/Users/PC/Documents/snakemake/peaks//s1_peaks_unique.narrowPeak.bed': No such file or directory
#> Error in file(file, "rt"): cannot open the connection