You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found the cause in the code below. It looks like you forgot to add 'registerDoParallel(cl)' in step 3. See the updated code below. Now it works well..
Hi CGWAS,
Please see the error below. I am not sure why I met the error.
"Error in summary.connection(connection) : invalid connection"
cgwas(gwasFilePath, snpFilePath, outputPath,
traitName = traitName, mrafFilePath = mrafFilePath, indSNPN = indSNPN)
/ / / /| | / // | / /
/ / ______ / / __ | | /| / // /| | _
/ //_____// // / | |/ |/ // ___ | / /
_/ _/ |/|/// ||/___/ version 0.9.3
========== C-GWAS basic parameters ==========
GWAS result file path : /home/cdsw/test_cgwas
SNP information file path : ~/test_cgwas/SnpInfo
GWAS name : D1, D2, D3
Exclude NA : TRUE
MRAF path : ~/test_cgwas/mraf
Output path : /home/cdsw
Keep i-EbICoW output : FALSE
Parallel number : 20
========== C-GWAS advanced parameters ==========
User define 2/13 parameters
Independent SNP number : 1e+05
Min EbICoW power increase ratio : 1.1
Other 11/13 parameters are in default
========== C-GWAS step 1 : Data formating ==========
Read and format 3 GWASs ..
C-GWAS step 1 completed
Step 1 takes 104.9 Secs.
========== C-GWAS step 2 : GetI ==========
Estimating inflation for 3 GWASs ..
Adjusted GWASs test statistics written to Details/i-EbICoW/
Summary of GetI written to Details/SummaryGetI.txt
C-GWAS step 2 completed
Step 2 takes 20.3 Secs.
========== C-GWAS step 3 : GetPsi ==========
Estimating background correlation for 3 GWAS pairs ..
Error in summary.connection(connection) : invalid connection
The text was updated successfully, but these errors were encountered: