match_by_alleles()
match_by_alleles(df, verbose = NULL, show_full_output = FALSE)
A dataframe that is in the snpset format (like returned by the get_snpset
function)
A logical scalar (default: FALSE). Assign to TRUE to get information on which alleles are matched and which are not.
A logical scalar (default:FALSE). Assign to TRUE to show the full output from this function
The input dataframe containing only those variants with matched alleles in the snpset
# \donttest{
CD_UKBB_lead_snps <- get_lead_snps(CD_UKBB)
snpset <- get_snpset(CD_UKBB_lead_snps, CD_FINNGEN)
match_by_alleles(snpset$found)
#> Warning: The input dataframe is empty
# }