Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2015 Apr 2;10(4):e0121760.
doi: 10.1371/journal.pone.0121760. eCollection 2015.

medplot: a web application for dynamic summary and analysis of longitudinal medical data based on R

Affiliations

medplot: a web application for dynamic summary and analysis of longitudinal medical data based on R

Črt Ahlin et al. PLoS One. .

Abstract

In biomedical studies the patients are often evaluated numerous times and a large number of variables are recorded at each time-point. Data entry and manipulation of longitudinal data can be performed using spreadsheet programs, which usually include some data plotting and analysis capabilities and are straightforward to use, but are not designed for the analyses of complex longitudinal data. Specialized statistical software offers more flexibility and capabilities, but first time users with biomedical background often find its use difficult. We developed medplot, an interactive web application that simplifies the exploration and analysis of longitudinal data. The application can be used to summarize, visualize and analyze data by researchers that are not familiar with statistical programs and whose knowledge of statistics is limited. The summary tools produce publication-ready tables and graphs. The analysis tools include features that are seldom available in spreadsheet software, such as correction for multiple testing, repeated measurement analyses and flexible non-linear modeling of the association of the numerical variables with the outcome. medplot is freely available and open source, it has an intuitive graphical user interface (GUI), it is accessible via the Internet and can be used within a web browser, without the need for installing and maintaining programs locally on the user's computer. This paper describes the application and gives detailed examples describing how to use the application on real data from a clinical study including patients with early Lyme borreliosis.

PubMed Disclaimer

Conflict of interest statement

Competing Interests: The authors have declared that no competing interests exist.

Figures

Fig 1
Fig 1. Graphical user interface in the web browser.
The screen is divided in two parts: the sidebar (left part, used to for inputs) and the main panel (right part, used for outputs). The outputs are accessible through various tabs on top of the main panel part of the screen.
Fig 2
Fig 2. Data for first two patients of the demo data set.
Data for two Erythema migrans patients are displayed. It spans eight rows, as each of them was evaluated on four occasions. Not all recorded variables are displayed.
Fig 3
Fig 3. Summary tab output for binary variables.
The table displays the descriptive statistics for the presence of each symptom; the plot shows the observed proportions of patients that report the presence of the symptom, along with their 95% confidence intervals.
Fig 4
Fig 4. Summary: grouping variable tab output for binary variables.
The table displays the summary statistics for the presence of symptoms at baseline for groups defined by the response to treatment at last evaluation. The proportions are compared, unadjusted and adjusted P values and Q values are provided (see text for details).
Fig 5
Fig 5. Graphical exploration tab output for numerical variables—lasagna plot.
The heat map displays graphically the intensity of arthralgia for each patient (horizontal axis) and evaluation occasion (vertical axis). A dendrogram showing patient similarity is plotted on the vertical axis.
Fig 6
Fig 6. Clustering tab output—heat map displaying the similarities of reported symptoms and of patients.
The colors represent the intensity of the symptoms at baseline (rows) for each patient (columns). Hierarchical clustering is used to group symptoms and patients.
Fig 7
Fig 7. Regression model: one evaluation time tab output—estimation of non-linear associations.
The graphs display the estimated associations between the age of the patients and selected symptom intensities at baseline evaluation. Restricted cubic splines are used for modeling. See text for details.

References

    1. Stupica D, Lusa L, Cerar T, Ružić-Sabljić E, Strle F. Comparison of post-Lyme borreliosis symptoms in erythema migrans patients with positive and negative Borrelia burgdorferi sensu lato skin culture. Vector-Borne and Zoonotic Diseases. 2011;11(7):883–889. 10.1089/vbz.2010.0018 - DOI - PubMed
    1. R Core Team. R: A Language and Environment for Statistical Computing. Vienna, Austria; 2013. Available from: http://www.r-project.org/
    1. Leisch F. Sweave: Dynamic generation of statistical reports using literate data analysis. In: Compstat. Springer; 2002. p. 575–580.
    1. Xie Y. knitr: A Comprehensive Tool for Reproducible Research in R In: Stodden V, Leisch F, Peng RD, editors. Implementing Reproducible Computational Research. Chapman and Hall/CRC; 2014. ISBN 978-1466561595
    1. Petchey OL, Beckerman AP, Childs DZ. Shock and awe by statistical software–why R. Bull Br Ecol Soc. 2009;40(4):55–58.

Publication types

MeSH terms

Substances