blank_filter | R Documentation |
MS/NMR data filtering based on "blank" data
blank_filter(
x,
y,
method = c("mean", "median", "max"),
factor = 1,
f_mv = TRUE,
thres_mv = 0.3
)
x |
a data matrix. |
y |
a character string with contents of "sample", "qc" and "blank". |
method |
method for stats. Support "mean", "median" and "max". |
factor |
multiplier for blank stats |
f_mv |
a flag indicating whether perform missing value filtering on "sample" data. |
thres_mv |
threshold of missing values on QC. Features less than this threshold will be kept. |
This function provides an option to perform missing value filtering on "sample" data.
a list of with contents:
dat the filtered data matrix
idx a logical vector of index for keeping features.
Other variable filters:
locfdr_filter()
,
mv_filter()
,
qc_filter()
,
rsd_filter()
,
var_filter()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.