View source: R/compute_biomarkers_user.R
compute_extended_ratios | R Documentation |
Computes 76 additional ratios not provided by the Nightingale platform. These
include lipid fractions in HDL, LDL, VLDL, and total serum, as well as
cholesterol fractions, and omega to polyunsaturated fatty acid ratios. See
nmr_info
for details.
compute_extended_ratios(x)
x |
|
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.
All biomarkers in the input data are also returned alongside the ratios computed by this function.
a data.frame
with the additional computed biomarker ratios.
nmr_info
for list of computed biomarker ratios,
compute_extended_ratio_qc_flags()
for obtaining an
aggregate of the biomarker QC flags from the biomarkers underlying each
computed ratio, and extract_biomarkers()
for details on how
raw data from
ukbconv
is processed.
ukb_data <- ukbnmr::test_data # Toy example dataset for testing package
nmr <- compute_extended_ratios(ukb_data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.