add nextflow d30e48d
This commit is contained in:
3
nextflow/docs/snippets/flatmap-map.nf
Normal file
3
nextflow/docs/snippets/flatmap-map.nf
Normal file
@@ -0,0 +1,3 @@
|
||||
channel.of( 1, 2, 3 )
|
||||
.flatMap { n -> [ number: n, square: n*n, cube: n*n*n ] }
|
||||
.view { entry -> "${entry.key}: ${entry.value}" }
|
||||
Reference in New Issue
Block a user