Hi
I’m trying meta-analyze two anxiety cohorts (Otowa (2016) and Purves (2019)), replicating Grotzinger paper (
https://www.nature.com/articles/s41588-022-01057-4 ).
I’m using the effective sample sizes reported in the same paper; however, I’m getting different heritability estimates than those reported in the paper.
And here are the code we used in genomicSEM:
############################################################
##======MUNGE THE FILES======##
#create vector of the summary statistics files
files<-c("otowa_withNeff.txt", "Purves_anxiety_withN.txt")
hm3<-"eur_w_ld_chr/w_hm3.snplist"
#name the traits
trait.names<-c("Anxiety_Otowa", "Anxiety_Purves")
#list the sample sizes.
N=c(8242,22054)
#definte the imputation quality filter
info.filter=0.9
#define the MAF filter
maf.filter=0.01
#run munge
munge(files=files,hm3=hm3,trait.names=trait.names,N=N,info.filter=info.filter,maf.filter=maf.filter)
####run LDSC
#vector of munged summary statistics
traits<-c("Anxiety_Otowa.sumstats.gz","Anxiety_Purves.sumstats.gz")
#enter sample prevalence of .5 to reflect that all traits were munged using the sum of effective sample size
sample.prev<-c(.5,0.5)
#vector of population prevalences
population.prev<-c(0.311,0.311)
#the folder of LD scores
ld<-"eur_w_ld_chr"
#the folder of LD weights [typically the same as folder of LD scores]
wld<-"eur_w_ld_chr"
#name the traits
trait.names<-c("Anxiety_Otowa", "Anxiety_Purves")
#run LDSC
LDSCoutput<-ldsc(traits=traits,sample.prev=sample.prev,population.prev=population.prev,ld=ld,wld=wld,trait.names=trait. Names)
#######################################################
And this is the output I got:
Liability scale results for: Anxiety_Otowa
Total Liability Scale h2: 0.237 (0.0888)
Total Liability Scale Genetic Covariance between Anxiety_Otowa and Anxiety_Purves: 0.2765 (0.04)
Liability scale results for: Anxiety_Purves
Total Liability Scale h2: 0.5846 (0.0383)
Genetic Correlation Results
Genetic Correlation between Anxiety_Otowa and Anxiety_Purves: 0.7429 (0.1074)
Thank you for your attention!
Best,
Leah