tumourkit.utils.preprocessing.read_names

tumourkit.utils.preprocessing.read_names(file_path: str) List[str]

Returns a list of file names in the specified path that contain the given pattern.

Parameters:
  • path (str) – The path to search for files.

  • pattern (str) – The pattern to search for in file names.

Returns:

A list of file names in the specified path that contain the given pattern.

Return type:

List[str]