Map_expression_one¶
-
NetExplorer.views.http_api.planexp.general.map_expression_one.
map_expression_one
(request)¶ Maps expression of genes in one condition for coloring the nodes in PlanExp graph.
- Accepts:
GET + AJAX
- Parameters
experiment (str) – Experiment name.
dataset (str) – Dataset name.
condition (str) – Condition name.
symbols (str) – Node symbols separated by commas.
profile (str) – Color profile name.
reference (str) – Indicates if color gradient should be generated in reference to global expression range (“Experiment”) or symbols expression range (“else”).
- Response:
- GET:
str: JSON with color mappings.
{ 'colormap': { 'gene1': '#fff', ... }, 'legend' : str }