R/deprec_funcs.R
create_snpset.Rd
create_snpset()
This method is deprecated and will be removed in future versions. use get_snpset
instead.
create_snpset(
df1,
df2,
thresh = 1e-08,
protein_coding_only = TRUE,
region_size = 1e+06,
verbose = F
)
The dataframe to extract the top snps from (with p-value below thresh)
The dataframe in which to search for overlapping SNPs from dataframe1
Numeric, the p-value threshold used for extracting the top snps from dataset 1
Logical, set this variable to TRUE to only use protein_coding genes for the annotation
Ingeter, the size of the interval which to extract the top snps from
Logical, (default: FALSE). Assign to TRUE to get information on which alleles are matched and which are not.
Dataframe containing the top hit
if (FALSE) {
create_snpset(CD_UKBB,CD_FINNGEN, thresh=1e-09)
}