[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-291295-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-291295-en":130},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","genetic-analysis-package-version-1152","Genetic Analysis Package - Version 1.15.2","","Genetic Analysis Package (gap) is an integrated R package for genetic data analysis covering both population-based and family-based study designs. It provides tools for sample size calculations, modeling familial disease aggregation, computing kinship, and performing linkage and association analyses using genetic markers. The package also supports haplotype analysis with or without environmental covariates, and includes visualization enhancements via Shiny and related dependencies.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/genetic-analysis-package-version-1152/291295/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/genetic-analysis-package-version-1152/291295.png","ImageObject",300,407,{"name":42,"@type":43},"Aldword","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-10-07","2026-09-17",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",10,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What types of genetic study designs does gap support?","Question",{"text":63,"@type":64},"It supports both population-based and family-based genetic data analysis.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"Which major analysis tasks are included in the package?",{"text":68,"@type":64},"It includes sample size calculations, familial disease aggregation, kinship calculation, linkage analysis, and association analysis with genetic markers.",{"name":70,"@type":61,"acceptedAnswer":71},"Can gap perform haplotype analysis with environmental covariates?",{"text":72,"@type":64},"Yes, it supports haplotype analysis with or without environmental covariates.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},291295,1789644316,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,110,115,120,123,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":103,"slug":104},6,50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":112,"show_sort_weight":113,"slug":114},8,"Research & Report",30,"research-report",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":55,"slug":125},"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":102,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":80,"read_time":144},2336478940917,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","Package ‘gap’  \nMay 28, 2026  \nType Package  \nTitle Genetic Analysis Package Version 1.15.2  \nDate 2026-05-26 Description  \nAs first reported [Zhao, J. H. 2007. ``gap: Genetic Analysis Package''. J Stat Soft 23(8):1-18 .\u003Cdoi:10.18637/jss.v023.i08>], it is designed as an integrated package for genetic data analysis of both population and family data. Currently, it contains functions for  \nsample size calculations of both population-based and family-based designs, probability of familial disease aggregation, kinship calculation, statistics in linkage analysis, and association analysis involving genetic markers including haplotype analysis with or without environmental covariates. Over years, the package has been developed in-between many projects hence also in line with the name (gap) .  \nLicense GPL (>= 2)  \nURL [https://github.com/jinghuazhao/R](https://github.com/jinghuazhao/R)  \nBugReports [https://github.com/jinghuazhao/R/issues](https://github.com/jinghuazhao/R/issues)[ ](https://github.com/jinghuazhao/R/issues)Depends R (>= 2.10), gap.datasets (>= 0.0.6)  \nImports dplyr, ggplot2, plotly, Rdpack  \nSuggests BradleyTerry2, DiagrammeR, MASS, Matrix, MCMCglmm, R2jags, bdsmatrix, bookdown, calibrate, circlize, coda, cowplot, coxme, foreign, genetics, grDevices, haplo.stats, htmltools,  \nhtmlwidgets, jsonlite, kinship2, knitr, lattice, magic,  \nmatrixStats, meta, metafor, nlme, pedigree, pedigreemm,  \nplotrix, readr, reshape, rmarkdown, rms, scales, survival, valr Enhances shiny  \nLazyData Yes  \nLazyLoad Yes NeedsCompilation yes Encoding UTF-8 VignetteBuilder knitr  \n2 Contents  \nRdMacros Rdpack  \nConfig/roxygen2/version 8.0.0 RoxygenNote 7.3.3  \nAuthor Jing Hua Zhao [aut, cre](ORCID:  \n\u003C[https://orcid.org/0000-0002-1463-5870](https://orcid.org/0000-0002-1463-5870)>, 0000-0003-4930-3582),  \nKurt Hornik [ctb],  \nBrian Ripley [ctb],  \nUwe Ligges [ctb],  \nAchim Zeileis [ctb]  \nMaintainer Jing Hua Zhao \u003C[jinghuazhao@hotmail.com](jinghuazhao@hotmail.com)> Repository CRAN  \nDate/Publication 2026-05-28 05:11:05 UTC  \nContents  \na2g .............................................. 5  \nab .............................................. 5  \nACDE ............................................ 7  \nAE3 ............................................. 10  \nallele.recode ......................................... 12  \nasplot ............................................ 12  \nb2r .............................................. 14  \nBFDP ............................................ 16  \nbt .............................................. 18  \nccsize ............................................ 19  \nchow.test .......................................... 22  \nchr_pos_a1_a2 ....................................... 25  \nci2ms ............................................ 26  \ncircos.cis.vs.trans.plot .................................... 27  \ncircos.cnvplot ........................................ 28  \ncircos.mhtplot ........................................ 28  \ncircos.mhtplot2 ....................................... 29  \ncis.vs.trans.classification .................................. 30  \ncnvplot ........................................... 31  \ncomp.score ......................................... 32  \ncs .............................................. 33  \nESplot ............................................ 34  \nfbsize ............................................ 36  \nFPRP ............................................ 38  \ng2a .............................................. 40  \ngc.em ............................................ 41  \ngc.lambda .......................................... 43  \ngcontrol ........................................... 44  \ngcontrol2 .......................................... 45  \ngcp .............................................. 47  \ngenecounting ........................................ 48  \nContents 3  \ngeno.recode ......................................... 51  \nget_b_se ........................................... 51  \nget_pve_se ..............","cbCaieCrtC28Tp50","https://ap.wps.com/l/cbCaieCrtC28Tp50","pdf",505526,181,"English","# Contents\n## RdMacros and Rdpack\n## Package Functions (selected)","[{\"question\":\"What types of genetic study designs does gap support?\",\"answer\":\"It supports both population-based and family-based genetic data analysis.\"},{\"question\":\"Which major analysis tasks are included in the package?\",\"answer\":\"It includes sample size calculations, familial disease aggregation, kinship calculation, linkage analysis, and association analysis with genetic markers.\"},{\"question\":\"Can gap perform haplotype analysis with environmental covariates?\",\"answer\":\"Yes, it supports haplotype analysis with or without environmental covariates.\"}]","Genetic Analysis Package - Version 1.15.2 | PDF",456]