diff --git a/conekt/controllers/expression_profile.py b/conekt/controllers/expression_profile.py index bb939ce..90d3355 100644 --- a/conekt/controllers/expression_profile.py +++ b/conekt/controllers/expression_profile.py @@ -184,7 +184,7 @@ def expression_profile_download_plot(profile_id): """ current_profile = ExpressionProfile.query.options(undefer('profile')).get_or_404(profile_id) - return Response(current_profile.table) + return Response(current_profile.table, mimetype='text/plain') @expression_profile.route('/download/plot//') diff --git a/docs/tutorials/002_expression_profiles.md b/docs/tutorials/002_expression_profiles.md index 54ddbc3..a0eac0a 100644 --- a/docs/tutorials/002_expression_profiles.md +++ b/docs/tutorials/002_expression_profiles.md @@ -16,6 +16,8 @@ Furthermore, summarized profiles with fewer conditions are available (link below ![expression profile summary](images/expression_profile_summary.png "Expression profile summary example") +The **download** buttons below expression plots allow you to download the raw data + ## Heatmaps ## Expression Specificity