iphegwas.Rd
Prepare the dataframe to pass to landscape function
iphegwas(phenos, dentogram = FALSE, pathname = FALSE)
Vector of names of dataframes that need to do iPheGWAS on.
to show structural differences
To read summarystats from a folder instead of passing it as phenos
A processed dataframe to pass to PheGWAS landscape function/ dentogram if it's TRUE
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.
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)
}