create_snpset: Create a dataframe that can be used as input for making...

Description Usage Arguments Value Examples

View source: R/effectplot.R

Description

create_snpset() All other input parameters are optional

Usage

1
2
3
4
5
6
7
8
create_snpset(
  df1,
  df2,
  thresh = 1e-08,
  protein_coding_only = TRUE,
  region_size = 1e+06,
  verbose = F
)

Arguments

df1

The dataframe to extract the top snps from (with p-value below thresh)

df2

The dataframe in which to search for overlapping SNPs from dataframe1

thresh

The p-value threshold used for extracting the top snps from dataset 1

protein_coding_only

Set this variable to TRUE to only use protein_coding genes for the annotation

region_size

The size of the interval which to extract the top snps from

Value

Dataframe containing the top hit

Examples

1
2
3
4
## Not run: 
create_snpset(CD_UKBB,CD_FINNGEN, thresh=1e-09)

## End(Not run)

wuxi-nextcode/topR documentation built on Dec. 23, 2021, 6:13 p.m.