Map_expression

NetExplorer.views.http_api.plannet.map_expression.map_expression(request)

View that maps expression to NetExplorer graph. Legacy. Should be updated to PlanExp.

Accepts:
  • GET + AJAX

Parameters
  • nodes (str) – Gene/contig symbols separated by commas.

  • databases (str) – Databases of nodes separated by commas (same order as nodes).

  • sample (str) – Sample name for which to map expression.

  • from_color (str) – Hex value of first color of gradient.

  • to_color (str) – Hex value of final color of gradient.

  • comp_type (str) – “one-sample” or “two-sample” indicating if gradient should be linear or divergent, respectively.

Response:
  • GET:
    • str: JSON with colors for each node.