Description Usage Arguments Details Value Examples
Metabolomics datasets often contain many features of non-biological origin e.g. those associated with extraction and analysis solvents. This tool facilitates the removal of such features from the data matrix, as defined using an appropriate blank sample.
1 2 3 4 5 6 7 8 9 10 | filter_peaks_by_blank(
df,
fold_change,
classes,
blank_label,
qc_label = NULL,
remove_samples = TRUE,
remove_peaks = TRUE,
fraction_in_blank = 0
)
|
df |
A matrix-like (e.g. an ordinary matrix, a data frame) or
RangedSummarizedExperiment-class object with
all values of class |
fold_change |
|
classes |
|
blank_label |
|
qc_label |
|
remove_samples |
|
remove_peaks |
|
fraction_in_blank |
|
If parameter qc_label
is not NULL
, QC samples which will be
used to calculate the median signal intensity.
Object of class SummarizedExperiment
. If input data are a
matrix-like (e.g. an ordinary matrix, a data frame) object, function returns
numeric()
matrix-like object of filtered data set. Function
flags
are added to the object attributes
and is a
DataFrame-class with five columns. The same
DataFrame
object containing flags is added to rowData()
element of SummarizedExperiment
object as well.
Columns in rowData()
or flags
element contain:
median_non_blanks
median intensities of features of non-blank
samples;
median_blanks
median intensities of features of blank samples;
fold_change
fold change between analytical and blank samples;
blank_flags
integer()
, if 0 feature is flagged to be
removed;
blank_fraction_flags
numeric()
, fraction in how many blank
samples peaks is present.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.