I am writing a README.md and did some tests. I want to put a table in the readme, this…
- User
I am writing a README.md and did some tests. I want to put a table in the readme, this is the data:
codeodp sdgff3 4.304 0.02880972058 gff3.gz 6.272 0.1765502761
codegxf2chrom sdgff3 1.87652 0.01444115646 gff3.gz 2.05 0.007071067812 gtf 1.83356 0.008381407996 gtf.gz 1.93548 0.01314865012
"odp" and "gxf2chrom" are 2 different tools. "gxf2chrom" seems to be a lot faster and also provides additional format support. I want 1) write the table in the README and 2) also display a statistical test result to see if the differences are significant (which one shoul I use)?
- Assistant
- User
merge both tables in 1 and approximate everything to 2 digits
- Assistant
To merge both tables into one and approximate the values to two decimal places, you can create a single Markdown table with additional columns. Here’s how the merged table with rounded values would look:
markdown### Tool performance comparison | Format | Tool | Mean Time (s) | SD | |---------|-----------|---------------|------| | gff3 | odp | 4.30 | 0.03 | | gff3.gz | odp | 6.27 | 0.18 | | gff3 | gxf2chrom | 1.88 | 0.01 | | gff3.gz | gxf2chrom | 2.05 | 0.01 | | gtf | gxf2chrom | 1.83 | 0.01 | | gtf.gz | gxf2chrom | 1.94 | 0.01 | - User
Use the name of the tools as columns instead of "Tools" and put the SD values next to each time with a "+/-"
- Assistant
To adjust the table to include the tool names as column headers and to place the standard deviation (SD) values next to the mean time with a "+/-" notation, use the following Markdown format:
markdown### Tool performance comparison | Format | odp Time (s) | gxf2chrom Time (s) | |---------|--------------------|--------------------| | gff3 | 4.30 +/- 0.03 | 1.88 +/- 0.01 | | gff3.gz | 6.27 +/- 0.18 | 2.05 +/- 0.01 | | gtf | Not Available | 1.83 +/- 0.01 | | gtf.gz | Not Available | 1.94 +/- 0.01 |And here's how you would add it to the
README.md:markdown