rformassspectrometry / QFeatures

Quantitative features for mass spectrometry data
https://RforMassSpectrometry.github.io/QFeatures/
25 stars 7 forks source link

feature request: filterNA() by column/sample #173

Open cvanderaa opened 2 years ago

cvanderaa commented 2 years ago

Currently, filterNA() remove rows/features in a particular assay that are missing above the provided threshold. I was wondering if it could also support filtering columns/samples, for instance by adding an argument byRow = TRUE (default, for feature filtering) and byRow = FALSE (default, for sample filtering)

lgatto commented 2 years ago

Yes, that seems very sensible to me.