Skip to content

Releases: theislab/ehrapy

0.8.0 🌈

20 May 20:38
Compare
Choose a tag to compare

Changes

πŸš€ Features

πŸ› Bug Fixes

🧰 Maintenance

0.7.0 🌈

22 Mar 12:33
Compare
Choose a tag to compare

Changes

πŸš€ Features

πŸ› Bug Fixes

0.6.0 🌈

19 Dec 10:48
Compare
Choose a tag to compare

Changes

πŸš€ Features

Breaking changes

  • Move information on numerical/non_numerical/encoded_non_numerical from .uns to .var (#630) @eroell

Make older AnnData objects compatible using

def move_type_info_from_uns_to_var(adata, copy=False):
    """
    Move type information from adata.uns to adata.var['ehrapy_column_type'].
    
    The latter is the current, updated flavor used by ehrapy.
    """
    if copy:
        adata = adata.copy()
        
    adata.var['ehrapy_column_type'] = 'unknown'

    if 'numerical_columns' in adata.uns.keys():
        for key in adata.uns['numerical_columns']:
            adata.var.loc[key, 'ehrapy_column_type'] = 'numeric'
    if 'non_numerical_columns' in adata.uns.keys():
        for key in adata.uns['non_numerical_columns']:
            adata.var.loc[key, 'ehrapy_column_type'] = 'non_numeric'
    if 'encoded_non_numerical_columns' in adata.uns.keys():
        for key in adata.uns['encoded_non_numerical_columns']:
            adata.var.loc[key, 'ehrapy_column_type'] = 'non_numeric_encoded'
            
    if copy:
        return adata

New features

πŸ› Bug Fixes

🧰 Maintenance

0.5.0 🌈

02 Aug 10:35
Compare
Choose a tag to compare

Changes

πŸš€ Features

πŸ› Bug Fixes

  • Fixed reading format warnings (#569) @namsaraeva
  • Fixed inability to normalize AnnData that does not require encoding (#568) @namsaraeva
  • Fixed adata.uns["non_numericlal_columns"] being empty in mimic_2 dataset (#567) @namsaraeva

0.4.0 Release 🌈

06 Jun 12:42
Compare
Choose a tag to compare

Changes

πŸš€ Features

πŸ› Bug Fixes

🧰 Maintenance

πŸ“¦ Dependencies

0.3.0 🌈

09 Dec 08:58
50fd5c2
Compare
Choose a tag to compare

Changes

πŸš€ Features

πŸ› Bug Fixes

🧰 Maintenance

πŸ“¦ Dependencies

  • [DEPENDABOT]: Bump pypa/gh-action-pypi-publish from 1.5.1 to 1.6.1 (#431) @dependabot
  • [DEPENDABOT]: Bump mshick/add-pr-comment from 1 to 2 (#417) @dependabot
  • [DEPENDABOT]: Bump crazy-max/ghaction-github-labeler from 4.0.0 to 4.1.0 (#415) @dependabot
  • [DEPENDABOT]: Bump codecov/codecov-action from 3.1.0 to 3.1.1 (#412) @dependabot
  • [DEPENDABOT]: Bump pypa/gh-action-pypi-publish from 1.5.0 to 1.5.1 (#398) @dependabot
  • [DEPENDABOT]: Bump crazy-max/ghaction-github-labeler from 3.1.1 to 4.0.0 (#388) @dependabot
  • [DEPENDABOT]: Bump actions/setup-python from 3 to 4 (#390) @dependabot

0.2.0 🌈

22 May 12:24
Compare
Choose a tag to compare

Changes

πŸš€ Features

πŸ› Bug Fixes

🧰 Maintenance

πŸ“¦ Dependencies

0.1.0 🌈

01 Feb 08:41
Compare
Choose a tag to compare
0.1.0 🌈 Pre-release
Pre-release

πŸš€ Features

  • Input and output of CSVs, PDFs, h5ad files
  • Several encoding modes (one-hot, label, ...)
  • Several imputation methods (simple, KNN, MissForest, ...)
  • Several normalization methods (log, scale, ...)
  • Full Scanpy API support
  • Initial MedCAT integration
  • DeepL & Google Translator support
  • More...

Documentation: https://ehrapy.readthedocs.io/en/latest/