Remove molecules with CV larger that a threshold

filter_by_cv(data, cv.cutoff = 20, measure = "Area")

Arguments

data

LipidomicsExperiment object.

cv.cutoff

CV threshold (numeric). Default is 20.

measure

Which measure used to calculate CV, usually Area (default).

Value

LipidomicsExperiment object with molecules filtered.

Examples

data(data_normalized) filter_by_cv(data_normalized)
#> class: LipidomicsExperiment #> dim: 271 56 #> metadata(2): summarized dimnames #> assays(3): Retention Time Area Background #> rownames(271): 1 2 ... 277 278 #> rowData names(24): filename Molecule ... total_cs Class #> colnames(56): S1A S2A ... TQC_11 TQC_12 #> colData names(3): group Diet BileAcid