View source: R/coloc_general_functions.R
check_coloc_data_format | R Documentation |
Checks that the necessary columns for coloc are present and are the correct type (num, character) currently for the betas requires: (i) SNP - chr/pos or rsids used to join the two datasets; (ii) beta; (iii) varbeta; (iv) maf (option depending on the check_maf argument).
check_coloc_data_format(df, beta_or_pval, check_maf)
df |
Dataframe to check the columns of |
beta_or_pval |
Either "beta" or "pval" depending on whether you want to use betas or pvals in the coloc analysis. |
check_maf |
lgl. Should function check if the maf is present? |
Inputted dataframe with columns the correct type.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.