-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A beginner's question about example code #25
Comments
Hi Kelly, Best, |
Hi Sheng, Thanks for your response. Thanks |
"--model LMM" or "--model DBSLMM" might solve your probelm. |
It works. |
Hi Sheng, I have a question regarding the output: Using 1e-6, no significant SNPs. What does "Number of SNP missing" mean? I have no idea why they are missing? Thanks! |
Thanks for your consideration for DBSLMM. Best, |
Thanks for your response! I have successfully figured out it! But I have another question: Does it mean that one of variants' effect size equal 0? Using 1e-6, 4 SNPs are regarded as fixed effect. Thanks! |
Hi Sheng,
I have a question regarding the example code:
let chr=1
DBSLMM=/mnt/hgfs/HDD/yi/dbslmm/DBSLMM.R
summf=/mnt/hgfs/HDD/yi/dbslmm/summary_gemma_chr
outPath=/mnt/hgfs/HDD/yi/dbslmm/out/
plink=/usr/lib/plink/plink
ref=/mnt/hgfs/HDD/yi/dbslmm/ref_chr
blockf=/mnt/hgfs/HDD/yi/dbslmm/chr
m=
cat ${summf}${chr}.assoc.txt | wc -l
h2=0.5
nobs=
sed -n "2p" ${summf}${chr}.assoc.txt | awk '{print $5}'
nmis=
sed -n "2p" ${summf}${chr}.assoc.txt | awk '{print $4}'
n=$(echo "${nobs}+${nmis}" | bc -l)
Rscript ${DBSLMM} --summary ${summf}${chr}.assoc.txt --outPath ${outPath} --plink ${plink} --dbslmm ${dbslmm} --ref ${ref}${chr} --n ${n} --nsnp ${m} --block ${blockf}${chr}.bed --h2 0.5
Error in if (opt$model == "LMM" & opt$type == "t") { :
argument is of length zero
Execution halted
I have no idea about this problem.Could you give me a hand, please?
The text was updated successfully, but these errors were encountered: