spared.plotting.plot_tests

spared.plotting.plot_tests(patch_size: int, dataset: str, split_names: dict, param_dict: dict, folder_path: str, processed_adata: AnnData, raw_adata: AnnData) None[source]

Plot all quality control plots

This function calls all the plotting functions in the class to create 6 quality control plots to check if the processing step of the dataset is performed correctly. The results are saved in dataset_logs folder and indexed by date and time. A dictionary in json format with all the dataset parameters is saved in the same log folder for reproducibility. Finally, a txt with the names of the genes used in processed adata is also saved in the folder.