compute_extended_ratio_qc_flags {ukbnmr} | R Documentation |
Aggregate QC Flags when computing the extended set of biomarker ratios
Description
For the 76 biomarker ratios computed by compute_extended_ratios()
,
aggregates the biomarker QC flags from the biomarkers composing each ratio
(see nmr_info
), which can be useful for determining the reason
underlying missing values in the biomarker ratios.
Usage
compute_extended_ratio_qc_flags(x)
Arguments
x |
|
Details
If your UK Biobank project only has access to a subset of biomarkers, then this function will only return the subset of ratios that can be computed from the biomarker data provided.
Biomarker QC Flags in the input data are also returned alongside those aggregated by this function for the computed biomarker ratios.
Value
a data.frame
with QC flags aggregated for all computed
biomarker ratios.
See Also
nmr_info
for list of computed biomarker ratios and
extract_biomarkers()
for details on how raw data from
ukbconv
is processed.
Examples
ukb_data <- ukbnmr::test_data # Toy example dataset for testing package
biomarker_qc_flags <- compute_extended_ratio_qc_flags(ukb_data)