extract_sig_snps: Extract SNPs with P value below a specified threshold (e.g....

View source: R/extract_snps.R

extract_sig_snpsR Documentation

Extract SNPs with P value below a specified threshold (e.g. significant SNPs)

Description

Exract the rows of the summary dataset of interest with P values below the specified threshold. This only works on linux/mac operating systems.

Usage

extract_sig_snps(
  path_to_target_file = NULL,
  p_val_col_number = NULL,
  p_threshold = 5e-08
)

Arguments

path_to_target_file

path to the target file. This contains the summary data for the trait of interest

p_val_col_number

the column number corresponding to the P values for the SNP-trait associations

p_threshold

Extract SNP-trait associtions with P values less than this value. Default set to 5e-8

Value

data frame


MRCIEU/mrQC documentation built on May 6, 2023, 1:40 p.m.