-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move information on numerical/non_numerical/encoded_non_numerical fro…
…m .uns to .var (#630) * tests for rank features groups with obs * first drafted feature ranking using obs * fixed encoding names * remove comment * Remove comment Co-authored-by: Lukas Heumos <[email protected]> * Remove comment Co-authored-by: Lukas Heumos <[email protected]> * Remove comment Co-authored-by: Lukas Heumos <[email protected]> * Update ehrapy/tools/feature_ranking/_rank_features_groups.py Co-authored-by: Lukas Heumos <[email protected]> * Remove comment Co-authored-by: Lukas Heumos <[email protected]> * Remove comment Co-authored-by: Lukas Heumos <[email protected]> * Update ehrapy/tools/feature_ranking/_rank_features_groups.py Co-authored-by: Lukas Heumos <[email protected]> * Iterable to list and import from future * upated to use layer, obs, or both * this test data should be more stable * Update ehrapy/tools/feature_ranking/_rank_features_groups.py Co-authored-by: Lukas Heumos <[email protected]> * correct indent of previous commit and added comment on dummy X * bug fixes, more tests and (fixed) examples in docstring * corrected for tests and modified encode * remove need for fields in .uns, updated use in var * forgot to commit ep.anndata._constants.py * Update ehrapy/anndata/anndata_ext.py Co-authored-by: Lukas Heumos <[email protected]> * Update ehrapy/anndata/anndata_ext.py No type annotation in docstrings Co-authored-by: Lukas Heumos <[email protected]> * remove usage of .uns, rewrite tests * remove type in docstring * remove commented code --------- Co-authored-by: Lukas Heumos <[email protected]>
- Loading branch information
Showing
9 changed files
with
257 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Typing Column | ||
# ----------------------- | ||
# The column name and used values in adata.var for column types. | ||
|
||
EHRAPY_TYPE_KEY = "ehrapy_column_type" | ||
NUMERIC_TAG = "numeric" | ||
NON_NUMERIC_TAG = "non_numeric" | ||
NON_NUMERIC_ENCODED_TAG = "non_numeric_encoded" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.