×

nf-core/custom/matrixfilter @ 0.0.0-0c7146d

filter a matrix based on a minimum value and numbers of samples that must pass.

Latest version: 0.0.0-0c7146d
Total downloads: 1
Source: nf-core/modules
Authors: @pinin4fjords
Maintainers: @pinin4fjords

Summary

filter a matrix based on a minimum value and numbers of samples that must pass.

Get started

Add the following snippet to your workflow script to include this module.

include { CUSTOM_MATRIXFILTER } from 'nf-core/custom/matrixfilter'

License

MIT License

Process
Name CUSTOM_MATRIXFILTER
Input 2 channels
#1 tuple
meta map

Groovy Map containing information on matrix to be filtered, at a minimum an id. e.g. [ id:'test' ]

abundance file

Raw TSV or CSV format abundance matrix with features (e.g. genes) by row and observations (e.g. samples) by column. All rownames from the sample sheet should be present in the columns.

#2 tuple
samplesheet_meta map

Where samplesheet is provided, aroovy Map containing information on sample sheet, at a minimum an id. e.g. [ id:'test' ]

samplesheet file

Optional CSV or TSV format sample sheet with sample metadata. If provided this is used to infer minimum passing samples from group sizes present (see grouping_variable), but also to validate matrix columns. If not provided, all numeric columns are selected.

Output 5 channels
#1 tests tuple
meta map

Groovy Map containing information on experiment. e.g. [ id:'test' ]

*.tests.tsv file

Boolean matrix with pass/ fail status for each test on each feature

*.tests.tsv
#2 filtered tuple
meta map

Groovy Map containing information on experiment. e.g. [ id:'test' ]

*.filtered.tsv file

Filtered version of input matrix

*.filtered.tsv
#3 versions
versions.yml file

File containing software versions

versions.yml
#4 thresholds tuple
meta map

Groovy Map containing information on experiment. e.g. [ id:'test' ]

*.thresholds.tsv file

Table of filtering thresholds applied in matrix filtering

*.thresholds.tsv
#5 session_info tuple
meta map

Groovy Map containing information on experiment. e.g. [ id:'test' ]

*R_sessionInfo.log file

Log file containing R session information

*.log
Tool Description Homepage
matrixfilter filter a matrix based on a minimum value and numbers of samples n/a
Version 0.0.0-0c7146d
Commit ID 135d883a43b1a2324b4112cd270cf22e20835533
Release Date 08 Apr 2026 18:33:59 (UTC)
Download URL https://registry-stage.nextflow.io/api/v1/modules/nf-core%2Fcustom%2Fmatrixfilter/0.0.0-0c7146d/download
OCI Store URL https://public.cr.stage-seqera.io/v2/nextflow/plugin-stage/modules/nf-core/custom/matrixfilter/blobs/sha256:dea54e3f61f249444d62a525210c0c6f90067f3e2bb9fb5ec9de0bf6d5c5db4e
Size 7.0 KB
Checksum sha256:dea54e3f61f249444d62a525210c0c6f90067f3e2bb9fb5ec9de0bf6d5c5db4e
Downloads 1
Version Date Status Downloads Size Diff
0.0.0-0c7146d 08 Apr 2026 18:33:59 (UTC) 1 7.0 KB -