Elektrine lite

← Feed

@lwpembleton@genomic.social

Post #1688994

2026-03-30 15:28 UTC

@drdcarpenter @mschmidty Hopefully this helps 👍 I'm sure you can go more fancy, but its a good example starting point. #rstats

Replies (4)

  • @defuneste@fosstodon.org 2026-03-30 15:32

    @lwpembleton @drdcarpenter @mschmidty Team no (or very limited) yaml! why not using a list instead? cc @milesmcbain for debate!

    Open ##1688995

  • @Mehrad@fosstodon.org 2026-03-30 15:40

    @lwpembleton I do something "similar", but also different. I store the config in an R file called `config.R` and I source the the file in the beginning of my script. Something like: ```r cfg <- list( # some comment input_path = "/some/path", output_path = "/some/path", # define some of the cutoffs for blah cutoffs = list( fdr = .05, logfc = 1.5 ) ) ``` The advantage is that it is easy to debug, zero dependency, can contain comments. @drdcarpenter @mschmidty

    Open ##1689007

  • @drdcarpenter@fosstodon.org 2026-03-30 15:59

    @lwpembleton @mschmidty thanks for this. Useful.

    Open ##1689009

  • @mschmidty@fosstodon.org 2026-03-30 16:23

    @lwpembleton @drdcarpenter thanks for the example. I’ve considered using yaml for a few things but haven’t implemented.

    Open ##1689010