Set a minimum peak abundance of floor_value for low abundance and undetected peaks.

floor_peaks(mzroll_list, log2_floor_value = 12, floor_var = "log2_abundance")

Arguments

mzroll_list

output of process_mzroll or process_mzroll_multi

  • features: one row per unique analyte (defined by a unique groupId),

  • samples: one row per unique sample (defined by a unique sampleId),

  • measurements: one row per peak (samples x peakgroups)

log2_floor_value

minimum value to set for low abundance or missing peaks

floor_var

measurement variable to floor to log2_floor_value.

Value

process_mzroll

Examples

floored_peaks <- floor_peaks(nplug_mzroll_augmented, 12)