Plot_gene_expression¶
-
NetExplorer.views.http_api.planexp.plots.plot_gene_expression.
plot_gene_expression
(request)¶ Plots gene co-expression.
- Accepts:
GET + AJAX
- Parameters
experiment (str) – Experiment name.
dataset (str) – Dataset name.
gene_name (str) – Gene symbol.
ctype (str) –
ConditionType
name.plot_type (str) – Type of the plot (violin, tsne, coexpression, bar, heatmap or line).
only_toggle (bool) – Show only expressed cells toggle (only for “violin”).
- Response:
- GET + AJAX:
str: JSON with ScatterPlot.
Example
curl -H "X-REQUESTED-WITH: XMLHttpRequest" \ -X GET \ "https://compgen.bio.ub.edu/PlanNET/plot_gene_expression?experiment=2018+Rajewsky+Cell+Atlas&dataset=Dresden&gene_name=dd_Smed_v6_740_0_1%2C+&plot_type=heatmap&ctype=Cluster&only=false"