SimpleColumnMapper
Bases: ColumnMapper
ColumnMapper for columns that contain information about a single phenotypic abnormality only
Parameters:
Name | Type | Description | Default |
---|---|---|---|
column_name
|
str
|
name of the column in the pandas DataFrame |
required |
hpo_id
|
str
|
HPO id, e.g., HP:0004321 |
required |
hpo_label
|
str
|
Corresponding term label |
required |
observed
|
str
|
symbol used in table if the phenotypic feature was observed |
None
|
excluded
|
str
|
symbol used if the feature was excluded |
None
|
non_measured
|
str
|
symbol used if the feature was not measured or is N/A. Defaults to None, optional |
None
|
Source code in pyphetools/creation/simple_column_mapper.py
__init__(column_name, hpo_id, hpo_label, observed=None, excluded=None, non_measured=None)
Constructor