rolypoly_load_gwas: Load gwas data

Description Usage Arguments Value Examples

View source: R/data_io.R

Description

Load gwas data

Usage

1
2
3
rolypoly_load_gwas(rolypoly, gwas_data, snp_annotations = NULL,
  gwas_z_filter = -1, add_spline = F, n_knots = 1, add_poly = F,
  n_degree = 2)

Arguments

rolypoly

rolypoly data

gwas_data

gwas data

snp_annotations

if there are additional snp annotations included

gwas_z_filter

if we want to remove large effect SNPs

add_spline

for fitting a spline to maf

n_knots

number of knots for spline

add_poly

for fitting a polynomial to maf

n_degree

degree of polynomial to fit

Value

rolypoly object with gwas data loaded

Examples

1
## Not run: rolypoly_load_gwas(rolypoly, gwas_data)

rolypoly documentation built on May 2, 2019, 2:47 p.m.