iphegwas: Prepare the dataframe to pass to landscape function

iphegwasR Documentation

Prepare the dataframe to pass to landscape function

Description

Prepare the dataframe to pass to landscape function

Usage

iphegwas(phenos, dentogram = FALSE, pathname = FALSE)

Arguments

phenos

Vector of names of dataframes that need to do iPheGWAS on.

dentogram

to show structural differences

pathname

To read summarystats from a folder instead of passing it as phenos

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 landscape function/ dentogram if it's TRUE

Author(s)

George Gittu

Examples

## Not run: 
phenos <- c("HDL", "LDL", "TRIGS", "TOTALCHOLESTROL")
## This gives the order after applying iPheGWAS. We can pass this order to the landscape function
iphegwas(phenos)
## This gives the dentogram as output
iphegwas(phenos,dentogram = TRUE)
## Give folder path
pathname <- system.file("extdata", "samplesummary", package = "iphegwas")
iphegwas(pathname = pathname,dentogram = TRUE)

## End(Not run)

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