Skip to contents

This function checks if the specified column containing EAF values in the input dataframe contains any missing values (NA). If missing values are found, it reads the necessary reference data to fill in the missing values based on the provided allele information.

Usage

missing_EAF(df, reference, column_EAF)

Arguments

df

The input dataframe containing the outcome data.

reference

The file path to the reference data containing EAF information.

column_EAF

The name of the column containing EAF values. If no column then this will be the name of the new column.

Value

The input dataframe with missing EAF values filled.