formats
DynamX_v3_cluster
Source code in hdxms_datasets/formats.py
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
|
convert(df)
Convert the DataFrame to a standard format.
Source code in hdxms_datasets/formats.py
103 104 105 106 107 |
|
DynamX_vx_state
There are also DynamX state data files which do not have 'Modification' and 'Fragment' columns. not sure which version this is.
Source code in hdxms_datasets/formats.py
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
|
convert(df)
Convert the DataFrame to a standard format.
Source code in hdxms_datasets/formats.py
45 46 47 48 49 |
|
HDExaminer_v3
Source code in hdxms_datasets/formats.py
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 |
|
convert(df)
Convert the DataFrame to a standard format.
Source code in hdxms_datasets/formats.py
137 138 139 140 141 |
|
HDXFormat
Bases: Protocol
Source code in hdxms_datasets/formats.py
6 7 8 9 10 11 12 13 14 15 16 |
|
convert(df)
Convert the DataFrame to a standard format.
Source code in hdxms_datasets/formats.py
12 13 14 15 16 |
|
identify_format(cols, *, exact=True)
Identify which HDXFormat subclass the given column list matches.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
cols
|
list[str]
|
The column names to check. |
required |
exact
|
bool
|
If True, order must match; otherwise, uses set equality. |
True
|
Returns:
Type | Description |
---|---|
Optional[HDXFormat]
|
The matching HDXFormat subclass, or None if no match. |
Source code in hdxms_datasets/formats.py
156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 |
|