fastprocessphegwas: Prepare the dataframe to pass to landscape function

View source: R/iphegwas.R

fastprocessphegwasR Documentation

Prepare the dataframe to pass to landscape function

Description

Prepare the dataframe to pass to landscape function

Usage

fastprocessphegwas(phenos, LDblock = FALSE, LDpop = "eur")

Arguments

phenos

Vector of names of dataframes that need to do PheGWAS on. Arrange the dataframe in the order how the the phenotypes should align in y axis

LDblock

If want to pass a custom LDblock file for division of BP groups (applicable only for chromosomal level)

LDpop

Process using LD Block data summarized in T Berisa et.al paper 2016, Default eur. Available asn & afn

Details

Make sure there are no duplicate rsid's in any of the dataframe, If there make sure to resolve it before passing it to this function.

Value

A processed dataframe to pass to PheGWAS landscape function

Author(s)

George Gittu

Examples

## Not run: 
HDL <- hdl
LDL <- ldl
TRIGS <- trig
TOTALCHOLESTROL <- tchol
phenos <- c("HDL", "LDL", "TRIGS", "TOTALCHOLESTROL")
## y is ready to be passed to function landscape
y <- fastprocessphegwas(phenos)

## End(Not run)

georgeg0/iphegwas documentation built on Oct. 15, 2022, 9:53 a.m.