Skip to contents

A function designed to check that fluorescence values do not exceed the upper limit (2^15 or 32768) OR fall below the lower limit (2^11 or 2048). Fluorescence values that exceed these thresholds are considered noisy and lead to incorrect interpretation of analysis results.

Usage

fluor_threshold_check_raw(clean_df, fun = NA)

Arguments

clean_df

A cleaned data frame.

fun

A parameter used for Boolean expressions.

Value

A polite warning message to the data analyst or researcher.

Note

This function works on a different type of data frame but in a similar manner to @seealso fluor_threshold_check().

Author

Tingwei Adeck

Examples

fpath <- system.file("extdata", "dat_1.dat", package = "normfluodbf", mustWork = TRUE)
dat_df <- read.table(file=fpath)
nocomma_dat <- clean_odddat_optimus(dat_df)
fluor_threshold_check_raw(nocomma_dat)
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds
#> Warning: 🐷🐫
#> Warning: Crikee, some values in your original data violate thresholds