processphegwas: Prepare the dataframe to pass to landscape function

processphegwasR Documentation

Prepare the dataframe to pass to landscape function

Description

Prepare the dataframe to pass to landscape function

Usage

processphegwas(x, phenos)

Arguments

x

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

phenos

a vector of phenotypes that you are passing for in the summary statistics file. It should be in the order that you pass the List.

Details

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

Value

A processed dataframe to pass to PheGWAS function

Author(s)

George Gittu

Examples

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

## End(Not run)

georgeg0/PheGWAS documentation built on Oct. 15, 2022, 7:49 a.m.