### box_two_sig

*  example

Function introduction

1）T test was used to analyze the difference between the two groups of samples.The t-test is to use the t-distribution theory to infer the probability of differences，and to compare whether the difference between the two averages is significant.

2）Wilcoxon rank sum test was used to analyze the difference between the two groups of samples.The Wilcoxon rank sum test, also known as the Mann-Whitney U test, is a nonparametric test.Whether there is a significant difference in the distribution between test samples without the assumption that both sample spaces are normally distributed.

3）Add a significantly different line to the box plot between two samples.

Input files

(1) Difference test form file: Enter the form file, the first column is the name of the different comparison group, each subsequent lineis the data for each iteration of the comparison group.

(2) Repeat at least three times.

(3) Comparison between the two groups of samples.

Parameter

(1) X-axis title: Enter the abscissa name.(The name can only be in English)

(2) Y-axis title: Enter the ordinate name.(The name can only be in English)

(3) Chart title: Enter the entire chart name.(The name can only be in English)

(4) Statistical test method selection: T test or wilcox test.

Results

Default output excel result table, box plot

Ttest.Pvalue. xls：T test result (parameter selection T test, output is T test result table).

wilcox.Pvalue. xls：Wilcoxon rank sum test result (parameter selection wilcox test, output is Wilcoxon rank sum test result table).

T-test.diff.pdf/png：T test box plot (parameter selection T test, output is T test box plot).

wilcox.diff.pdf/png：Wilcoxon box plot (parameter selection wilcox test, output isWilcoxon box plot).

1.Input file:

Input table file, must be TXT format.Optionally, open the data in excel and save it as "text file (TAB separated)(*.txt)".

Sample form: (Only two sample data can be entered at a time)

 D 14 19 20 4 2 E 40 39 44 47 45

2. Result output:

Difference test form

 compare p.format p.signif method D-vs-E 0.0079 ** Wilcoxon

3. output graphics Note: The abscissa is the name of the two comparison groups, and the ordinate is distribution value of sample data. * represents significance,* represents two groups difference  less than 0.05 ，** represents two groups difference  less than 0.01，*** represents two groups difference  less than 0.001，and so on.