Map_expression_two

NetExplorer.views.http_api.planexp.general.map_expression_two.map_expression_two(request)

Maps expression of genes ina two-conditions comparison for coloring the nodes in PlanExp graph.

Accepts:
  • GET + AJAX

Parameters
  • experiment (str) – Experiment name.

  • dataset (str) – Dataset name.

  • condition1 (str) – Condition 1 name.

  • condition2 (str) – Condition 2 name.

  • symbols (str) – Node symbols separated by commas.

  • profile (str) – Color profile name.

Response:
  • GET:
    • str: JSON with color mappings.

    {
        'colormap':
            {
                'gene1': '#fff',
                ...
            },
        'legend' : str
    }