Prepare the dataframe to pass to landscape function

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

Value

A processed dataframe to pass to PheGWAS landscape function

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.

Author

George Gittu

Examples

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