Files
ma/nextflow/docs/snippets/view-with-mapper.nf
2026-04-29 23:01:54 +02:00

3 lines
101 B
Plaintext

channel.of(1, 2, 3)
.map { v -> [v, v*v] }
.view { num, sqr -> "The square of $num is $sqr" }