if (FALSE) {
area_data <- tibble::tibble(
sample_id = c(
"011_Blank", "012_sample_002", "013_NIST_Plasma", "014_Blank",
"015_sample_006", "016_sample_003"
),
`2-Deoxyglucose-6-Phosphate_neg` = c(NA, 345423.96, NA, NA, 125889.80, 323818.25),
`2-Oxoisoleucine_neg` = c(NA, 53004.06, 124669.80, NA, 23650.90, 118364.36),
`3-(4-Hydroxyphenyl)propionate_neg` = c(NA, 53004.06, 124669.80, NA, 23650.90, 118364.36)
)
flagged_data <- flag_underexpressed_features(
area_data,
sample_id_col = "sample_id",
feature_cols = names(area_data)[-1]
)
print(flagged_data)
}
Run the code above in your browser using DataLab