fastprocessphegwas | R Documentation |
Prepare the dataframe to pass to landscape function
fastprocessphegwas(phenos, LDblock = FALSE, LDpop = "eur")
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 |
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.
A processed dataframe to pass to PheGWAS landscape function
George Gittu
## Not run: 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) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.