From ae1e7ba44eb3399015a42fd760741b5ea70162e0 Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Wed, 16 Dec 2020 18:18:29 +0900 Subject: [PATCH] Update README.md --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e27211d..9841b5f 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,8 @@ gem install youplot ## Quick Start +`cat data.tsv | uplot [options]` + ### barplot ```sh @@ -103,7 +105,19 @@ cat gencode.v35.annotation.gff3 | grep -v '#' | grep 'gene' | cut -f1 \ | uplot bar -d ' ' -t "The number of human gene annotations per chromosome" -c blue ``` -## +## Usage + +### how to use YouPlot? + +`uplot` is the same as `youplot`. You can use either. + +| | | +|-----------------------------------|------------------------------------------------| +| Reads data from standard input | `cat data.tsv \| uplot [options]` | +| Reads data from a file | `uplot [options] data.tsv` | +| Outputs data from stdin to stdout | `pipeline1 \| uplot -O \| pipeline2` | + +### plot commands | command | short | | |-----------|-------|----------------------------------------| @@ -140,6 +154,11 @@ Options: uplot colors ``` +## Why YouPlot? + +Wouldn't it be a bit of pain to have to run R, Python, Julia, gnuplot or whatever REPL just to check your data? +YouPlot is a command line tool for this purpose. With YouPlot, you can continue working without leaving your terminal and shell. + ## Development ```sh