recompute_derived_biomarker_qc_flags {ukbnmr} | R Documentation |
Aggregate QC Flags when recomputing all composite and derived biomarkers
Description
For the 61 composite biomarkers, 81 Nightingale biomarker ratios, and 76
extended biomarker ratios computed by recompute_derived_biomarkers()
,
aggregates the biomarker QC flags from the underlying biomarkers
(see nmr_info
).
Usage
recompute_derived_biomarker_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
biomarkers and 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 <- recompute_derived_biomarker_qc_flags(ukb_data)