Filters a SummarizedExperiment proteomics dataset based on three strategies:
"complete"
: keep only proteins with no missing values across all samples,"condition"
: keep proteins with at mostthr
missing values in at least one condition,"fraction"
: keep proteins with at leastmin
fraction of valid values overall.
Usage
prot.filter_missing(
se,
type = c("complete", "condition", "fraction", NULL),
thr = NULL,
min = NULL
)
Arguments
- se
A
SummarizedExperiment
object containing proteomics data.- type
Character; one of
"complete"
,"condition"
, or"fraction"
.- thr
Numeric; maximum allowed missing values per condition (used when
type = "condition"
).- min
Numeric; minimum fraction of valid (non-
NA
) values required (used whentype = "fraction"
).