Experiment_conditions¶
-
NetExplorer.views.http_api.planexp.general.experiment_conditions.
experiment_conditions
(request)¶ Gets list of conditions for a given experiment and its available comparisons for DGE.
- Accepts:
GET + AJAX
- Parameters
experiment (str) – Experiment name.
type (str) – Condition type name.
- Response:
- GET + AJAX:
str: JSON with conditions and comparisons.
{ "conditions": ["c1", "c2", "c3"], "comparisons": { "c1": ["c2"], "c2": ["c1", "c3"], "c3": ["c2"] } }
-
NetExplorer.views.http_api.planexp.general.experiment_conditions.
get_possible_comparisons
(exp_name)¶ Returns dictionary of possible conditions to compare in DGE table.
- Parameters
exp_name (str) – Experiment name
- Returns
- Dictionary with comparisons.
Only those available for DGE in ExpressionRelative table. Key is condition name, value is list with conditions for which “key” has a comparison.
- Return type
dict