+ All Categories
Home > Documents > Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests

Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests

Date post: 05-Feb-2016
Category:
Upload: umika
View: 61 times
Download: 0 times
Share this document with a friend
Description:
Lab 2. Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests Macro %HAPPY (http://www.hsph.harvard.edu/faculty/kraft/soft.htm) Hapstat (http://www.bios.unc.edu/~lin/hapstat/). Yu-Chun Jean Yen [email protected] Bldg.2 Rm. 200. Sample Dataset - PowerPoint PPT Presentation
37
I. Proc Allele (SAS/Genetics) II. Single SNP analysis III. Tests for Multi-allelic Markers IV. Haplotype tests i. Macro %HAPPY (http://www.hsph.harvard.edu/faculty/kraft/soft.htm) ii. Hapstat (http://www.bios.unc.edu/~lin/hapstat/) Lab 2 Yu-Chun Jean Yen [email protected] Bldg.2 Rm. 200
Transcript
Page 1: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests

I. Proc Allele (SAS/Genetics)

II. Single SNP analysis

III. Tests for Multi-allelic Markers

IV. Haplotype tests

i. Macro %HAPPY (http://www.hsph.harvard.edu/faculty/kraft/soft.htm)

ii. Hapstat (http://www.bios.unc.edu/~lin/hapstat/)

Lab 2

Yu-Chun Jean [email protected] Rm. 200

Page 2: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests

Sample DatasetYahoo.dat: a comma delimited file Case-control with 1680 subjects, 16 SNPs

Page 3: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests
Page 4: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests
Page 5: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests
Page 6: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests
Page 7: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests
Page 8: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests
Page 9: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests

Make sure you're modeling correct outcome

Page 10: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests

Dominant Model

Page 11: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests

Codominant Model

Page 12: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests

Additive Model

Page 13: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests
Page 14: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests

proc multtest pdata=outpeas bon hom fdr;run;

BY threshold is

.05/3.38~.015

Page 15: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests
Page 16: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests
Page 17: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests
Page 18: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests

Most General Model

Page 19: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests

Model -2 log L

Additivez1 z2 z3 / ref=z0 711.218

z0 z2 z3 / ref=z1 711.218

Dominantd1 d2 d3 / ref=d0 711.797

d0 d2 d3 / ref=d1 710.719

Additive Model and Dominant Model

Page 20: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests
Page 21: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests

%happy(indsn=yahoo, keep=a7 a8 a19 a20, style=MAR, outadd=yahadd, range=.05);

SNPs (two allele vars each)

Tells happy input format

Where should I save additive scores?

How rare is rare? Rare haplotypes are lumped in "other" category.

Page 22: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests
Page 23: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests

proc print data=origfreq;run;

Dataset containing ordered hap freqs and reference numbers

Page 24: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests
Page 25: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests

/* set up analysis data set */proc sort data=yahadd; by id;proc sort data=yahoo; by id;data UseMe; merge yahoo yahadd; by id;run;

/* do global haplotype test */proc logistic data=UseMe; model d = z2 z3;run;

/* test haplotype 2-4 specifically */proc logistic data=UseMe; model d = z2;run;

Page 26: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests
Page 27: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests
Page 28: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests
Page 29: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests
Page 30: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests
Page 31: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests
Page 32: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests
Page 33: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests
Page 34: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests
Page 35: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests

● Haplotype 11(z2) & Haplotype 01(z3)Log-Likelihood

-2167.7410

● Haplotype 11(z2)Log-Likelihood

-2168.0977

● Null modelLog-Likelihood

-2174.8674

LRT = 14.25

LRT =13.54

Page 36: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests
Page 37: Proc Allele (SAS/Genetics) Single SNP analysis Tests for Multi-allelic Markers Haplotype tests

Recommended