Methylcheck

Latest version: v0.8.5

Safety actively analyzes 682457 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

0.8.5

- functions support .parquet files as input (produced by methylprep pipeline v1.7.0 or higher)
- methylcheck.load() includes a 'control' format that returns a dictionary of dataframes, keyed to sample names.
- consistent flexible function inputs: Any function that accepted a filepath or dataframe as first parameter
now accepts either of these interchangeably, except for loading functions and Report classes; these cannot handle dataframe inputs: `ControlsReport`; `ReportPDF`; `load()`; `load_both()`; `combine_mds()`.
- improved .load speed

0.8.4

- get_sex bug fixes; supports plots, returning figure, returning labels, or returning predicted sex dataframe
- add testing via github actions
- updated documentation

0.8.2

- added support for sample sheets with the legacy Illumina [Header] ... [Data] format. This requires `methylprep`
be installed for the controls report to run now.

0.8.1

- .load gives clearer error when loading beta values from CSVs ('beta_csv') if probe names are not unique,
and returns a list of series for each sample when indeces fail to merge (pandas.concat)
- .beta_mds_plot() can now suppress the interactive portion and still display plots, using `silent=True` and `plot=True`
(`plot` is a new kwarg, and defaults to `True`). Previously `silent` mode would suppress both prompts and plot display.
Change in behavior: `silent` mode will not disable plotting. Must also include `plot=False` for that.

0.8.0

- Fixed bug in `.load` that requires `tqdm` >= 4.61.2
- Added more detailed error message on `.load`; it cannot load and merge two meth/unmeth dataframes with redundant probe names.

0.7.9

- `ReportPDF` accepts 'poobah_colormap' kwarg to feed in beta_mds_plot colormap.
- `ReportPDF` custom tables: You can insert your custom table on the first page by specifying 'order_after' == None.
- `beta_mds_plot` `palette` can now be any matplotlib colormap name. Defaults to 'magma' if not specified. The palette
is only used to color-code poobah failure rates, if the poobah file path is specified.
- `beta_mds_plot` new kwarg `extend_poobah_range`: Default (True) shows 7 colors for poobah failure rates. If False, will show only 5.

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.