Skip to contents

This function calculates % of powered associations for a test cohort that has been annotated with PGRM.

Usage

get_powered_rate(annotated_results, include_missing_pheno = TRUE, LOUD = TRUE)

Arguments

annotated_results

A data table of results that have been annotated with the PGRM

include_missing_pheno

If TRUE, then denominator inclues SNP/phecode pairs that are not present in the annotated_results data.table

LOUD

If TRUE then progress info is printed to the terminal. Default TRUE

Value

An numeric value of the percent of associations that are powered