single_cell_parser
❭ cell_modify_functions
❭ get
get¶
- single_cell_parser.cell_modify_functions.get(funname)¶
Get a cell modification function by their name.
Cell modify functions are defined in this module, and can be retrieved by name. Each cell modify function is defined in a module that has the same name as the function itself. For example, the full path to
scale_apical()
issingle_cell_parser.cell_modify_functions.scale_apical.scale_apical()
. To make it easier to retrieve the function, this function provides API to simply fetch them by name.Example
>>> from single\_cell\_parser.cell\_modify\_functions import get >>> fun = get('scale\_apical') >>> fun <function scale\_apical at 0x7f0c3f2b6e18> >>> print(fun.\_\_file\_\_) single\_cell\_parser/cell\_modify\_functions/scale\_apical.py