ldscmod.Rd
Function to use LDSC
ldscmod(pathname, ldscpath, dentogram = FALSE, plot = FALSE)
The folder that contains the summary stats to use for LDSC
Path to the LDSC GitHub folder in your computer
If TRUE returns dentogram using LDSC method
If TRUE returns rg correlation plot using LDSC method
Default LDSC ordering/ dentogram is TRUE/ rg plot if TRUE
if used for LDSC ordering then summary stats file names should match with the phenos that you are passing to the landscape function.
You should have a ldsc conda environment that you use for running LDSC. Details here https://github.com/bulik/ldsc
if (FALSE) {
## Giving absolute file path
pathname <- "/Users/ggeorg02/Desktop/databetasefiltered/files_ldsc/"
ldscpath <- "/Users/ggeorg02/Desktop/GitHub/ldsc"
# This gives the order after applying LDSC. We can pass this order to the landscape function
ldscmod(pathname,ldscpath)
ldscmod(pathname,ldscpath,dentogram = TRUE)
ldscmod(pathname,ldscpath,plot = TRUE)
}