Skip to content
This repository has been archived by the owner on Nov 5, 2020. It is now read-only.

Commit

Permalink
docs: add citation request for Herbig2018
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Aug 5, 2019
1 parent af46169 commit 0dd087f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/sec_interface.rst
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,8 @@ Regression analysis:
Perform a regression analysis according to (general) linear mixed effects
models. For more information, please see :ref:`sec_qg_mixed_effects` as
well as the references :cite:`Herbig2017` and :cite:`Herbig2018`.
If you are using this feature in a scientific publication, please
consider citing :cite:`Herbig2018`.


Plotting tabs
Expand Down
14 changes: 14 additions & 0 deletions shapeout/gui/controls_analyze.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,21 @@ def OnApply(self, e=None):
# write to temporary file and display with webbrowser
outf = tempfile.mktemp(prefix="regression_analysis_{}_".format(axname),
suffix=".txt")
# add citation request
citreq = [
"# If you are using these results in a scientific publication,",
"# please consider citing the following manuscript:",
"#",
"# Herbig M, Mietke A, Müller P, Otto O (2018)",
"# Statistics for real-time deformability cytometry: Clustering,",
"# dimensionality reduction, and significance testing.",
"# Biomicrofluidics 12:042214. doi: 10.1063/1.5027197",
"#",
"",
]

with io.open(outf, "w") as fd:
fd.writelines(citreq)
fd.writelines(result["Full Summary"].replace("\n", "\r\n"))

webbrowser.open(fd.name)
Expand Down

0 comments on commit 0dd087f

Please sign in to comment.