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

9 lines
190 B
Plaintext

channel.of( 1, 2, 3, 4 )
.multiMap { v ->
inc: v + 1
squared: v * v
}
.set { result }
result.inc.view { v -> "inc $v" }
result.squared.view { v -> "squared $v" }