metadata_correlation
- pylluminator.visualizations.metadata_correlation(input_data: Samples | DataFrame, columns: list[str] | None = None, abs_corr=True, save_path=None) None
Plot the correlation between the metadata columns of the samplesheet.
- Parameters:
input_data (Samples | pd.DataFrame) – Samples object to analyze the sample sheet of, or a sample sheet dataframe directly
columns (list[str] | None) – list of columns to use for the correlation. If None, use all columns. Default: None
abs_corr (bool) – if True, plot the absolute correlation. Default: True
save_path (str | None) – if set, save the graph to save_path. Default: None