plot2groups: an R package to plot scatter points for two groups of values View Article: PubMed Central ABSTRACTBackground: Researchers usually employ bar graphs to show two groups of data, which can be easily manipulated to yield false impressions. To some extent, scatterplot can retain the real data values and the spread of the data. However, for groups of numeric data, scatterplot may cause over-plotting problems. As a result, many values all stack on top of each other.Results: We recently implemented an R package, plot2groups, to plot scatter points for two groups values, jittering the adjacent points side by side to avoid overlapping in the plot. The functions simultaneously calculate a P value of two group t- or rank-test and incorporated the P value into the plot.Conclusions: plot2groups is a simple and flexible software package which can be used to visualize two groups of values within the statistical programming environment R. No MeSH data available. © Copyright Policy - open-access Related In: Results  -  Collection License 1 - License 2 getmorefigures.php?uid=PMC4413984&req=5 .flowplayer { width: px; height: px; } Fig1: Two example plots for the example data. a) Traditional point plot for two groups of values. b) Scatterplot produced by plot2groups, and the bar is the average value for each group. Mentions: As can be seen in Figure 1 a), some points overlap with each other, especially in the ‘Control’ group, and it is impossible to discern the total number of sample.

plot2groups: an R package to plot scatter points for two groups of values
Related In: Results  -  Collection

Show All Figures
getmorefigures.php?uid=PMC4413984&req=5

Fig1: Two example plots for the example data. a) Traditional point plot for two groups of values. b) Scatterplot produced by plot2groups, and the bar is the average value for each group.
Mentions: As can be seen in Figure 1 a), some points overlap with each other, especially in the ‘Control’ group, and it is impossible to discern the total number of sample.

View Article: PubMed Central

ABSTRACT

Background: Researchers usually employ bar graphs to show two groups of data, which can be easily manipulated to yield false impressions. To some extent, scatterplot can retain the real data values and the spread of the data. However, for groups of numeric data, scatterplot may cause over-plotting problems. As a result, many values all stack on top of each other.

Results: We recently implemented an R package, plot2groups, to plot scatter points for two groups values, jittering the adjacent points side by side to avoid overlapping in the plot. The functions simultaneously calculate a P value of two group t- or rank-test and incorporated the P value into the plot.

Conclusions: plot2groups is a simple and flexible software package which can be used to visualize two groups of values within the statistical programming environment R.

No MeSH data available.