- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Association Analysis, Logistic Regression, R and S-PLUS Richard Mott http://bioinformatics.well.ox.ac.uk/lectures/ Logistic Regression in Statistical Genetics Applicable to Association Studies Data: Binary outcomes (eg disease status) Dependent on genotypes [+ sex, environment] Aim is to identify which factors influence the outcome Rigorous tests of statistical significance Flexible modelling language Generalisation of Chi-Squared Test What is R ? Statistical analysis package Free Similar to commercial package S-PLUS Runs on Unix, Windows, Mac Many packages for statistical genetics, microarray analysis available in R Easily Programmable Modelling in R Data for individual labelled i=1…n: Response yi Genotypes gij for markers j=1..m Coding Unphased Genotypes Several possibilities: AA, AG, GG original genotypes 12, 21, 22 1, 2, 3 0, 1, 2 # of G alleles Missing Data NA default in R Using R Load genetic logistic regression tools source(‘logistic.R’) Read data table from file t - read.table(‘geno.dat’, header=TRUE) Column names names(t) t$y response (0,1) t$m1, t$m2, …. Genotypes for each marker Contigency Tables in R ftable(t$y,t$m31) prints the contingency table Chi-Squared Test in R The Logistic Model Prob(Yi=0) = exp(hi)/(1+exp(hi)) hi = Sj xij bj - Linear Predictor xij – Design Matrix (genotypes etc) bj – Model Parameters (to be estimated) Model is investigated by estimating the bj’s by maximum likelihood testing if the estimates are different from 0 The Logistic FunctionProb(Yi=0) = exp(hi)/(1+exp(hi)) Types of genetic effect at a single locus Additive Genotype Model Code genotypes as AA x=0, AG x=1, GG x=2 Linear Predictor h = b0 + xb1 P(Y=0|x) = exp(b0 + xb1)/(1+exp(b0 + xb1)) PAA = P(Y=0|x=0) = exp(b0)/(1+exp(b0)) PAG = P(Y=0|x=1) = exp(b0 + b1)/(1+exp(b0 + b1)) PGG = P(Y=0|x=2) = exp(b0 + 2b1)/(1+exp(b0 + 2b1)) Additive Model: b0 = -2 b1 = 2PAA = 0.12 PAG = 0.50 PGG = 0.88 Additive Model: b0 = 0 b1 = 2PAA = 0.50 PAG = 0.88 PGG = 0.98
您可能关注的文档
- 090721的新旅行庆典.ppt
- 105884的_Ryder.ppt
- 201008的23解析天赋少年教育计划.doc
- 201403的23校本课程的开发实施与个案研究(1.doc
- A Blac的k-Box approach to machine learning.ppt
- A intr的oduction to Database Management System Raghu Ramakrishnan.doc
- abaqus的问题.doc
- Advanc的es and challenges in the development of power-generation systems at small scales.doc
- Americ的an and British Education System.ppt
- An int的roduction to Bayesian Networks and the Bayes Net Toolbox for Matlab.ppt
- A东财15春的学期《工程造价管理》期末考核作业.doc
- B10 MR的2 Feature introduction.ppt
- Basic_的course_shortcut.doc
- blueto的oth packet selection and scheduling scheme in interference environments.doc
- BOM管理与的工变管理.ppt
- BRIEF 的INTRODUCTION OF TOM JONES 吉林建工 闫顺.ppt
- Buildi的ng a Large Scale Lexical Ontology for Portuguese.ppt
- busy, 的noisy-CCELT.doc
- C++概论(的C语言过度版.doc
- Case 4的-2 Problem Analysis.doc
文档评论(0)