Parse bedpaths as file based path.
parse_bedpath(bedpaths, pattern = ".bed")
The vector contains the paths of bed files, can be dir_path.
The suffix of the bed files. Default: '.bed'.
A vector which contains parsed file based paths
parse_bedpath(c('./Encode_bed', './peak/xxx.bed','./peak/zzz.bed'))
#> NULL