Prepare the dataframe to pass to landscape function

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

Value

A processed dataframe to pass to PheGWAS landscape function/ dentogram if it's TRUE

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.

Author

George Gittu

Examples

if (FALSE) {
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)
}