if (any(!str_detect(files_req, paste0(files_req, collapse = "|")))) { stop("ATTENTION: please make sure cluster_info_*.txt, cluster_marker_genes_*.txt, scaled_counts.txt and tsne_info_*.txt exist in your working directory") }
if (any(!str_detect(all_files, paste0(files_req, collapse = "|")))) { stop("ATTENTION: please make sure cluster_info_*.txt, cluster_marker_genes_*.txt, scaled_counts.txt and tsne_info_*.txt exist in your working directory") }