Tools overview¶
detk is organized into modules, each exposed both as a subcommand of detk
and as a standalone executable (detk stats ... ≡ detk-stats ...):
| Tool | Purpose | Needs R |
|---|---|---|
detk-stats |
count matrix statistics (distributions, zeros, entropy, PCA) | no |
detk-filter |
filter features with a mini-language | no |
detk-norm |
DESeq2 / library-size / FPKM normalization | no |
detk-transform |
plog / rlog / VST transformations | rlog, vst |
detk-de |
DESeq2 and Firth logistic differential expression | yes |
detk-enrich |
fgsea pre-ranked gene set enrichment | yes |
detk-outlier |
outlier count identification and shrinkage | no |
detk-util |
tidy counts/column-data files against each other | no |
detk-wrapr |
run custom R scripts through the detk R bridge | yes |
detk-report |
render accumulated results into an HTML report | no |
Common options¶
Every subcommand accepts these options in addition to its own (except
detk-util record, which writes no table and so has no -d); its
--help lists them under common options:. A tool's page shows each
subcommand's own part of its help: the usage, the positional arguments
and the options. See Stability for what help
promises and exit codes for how every command
exits.
common options:
-d, --out-delim CHAR Delimiter to use for the output file (default: ,)
--report-dir DIR Directory to write the HTML report and module JSON into
(default: ./detk_report)
--no-report Do not write the HTML report
--version Print the detk version and exit
-v, --verbose Make log output verbose
-q, --quiet Turn off all logging except warnings and errors
--shut-up Turn off ALL logging
Most tools write their primary output to stdout by default and accept
-o FILE/--output=FILE to write to a file instead. Unless --no-report is
given, each invocation also records a JSON document under
<report-dir>/json/ for the report.