More Plink + R plotting Sarah Medland 2017.

Slides:



Advertisements
Similar presentations
FUNCTIONAL ICT LEVEL 2 Advanced Excell. Data types.
Advertisements

PLINK: a toolset for whole genome association analysis
BST 775 Lecture PLINK – A Popular Toolset for GWAS
Slide 1Fig. 2.1a, p.25. Slide 2Fig. 2.1b, p.25 Slide 3Table 2.1, p.25.
The Maize Inflorescence Project Website Tutorial Nov 7, 2014.
Using HapMap.Org A Tutorial Lincoln Stein, Cold Spring Harbor Laboratory.
:NEUROPSYCHIATRIC GENETICS [BIOSTATISTICS|BIOINFORMATICS] CORE BIOSTATISTIC/BIOINFORMATIC TOOLS FOR GENETICS DATA: DATA MANAGEMENT AND ANALYSIS RICHARD.
1 Simple Regression – Example #2 t-test df = n – 2.
Selection Sort
Grep, comm, and uniq. The grep Command The grep command allows a user to search for specific text inside a file. The grep command will find all occurrences.
Courtesy of SlideTemple.com, your online presentation toolbox. These templates are presented to you by YOUR AD HERE Send us an.
Steve Newhouse 28 Jan  Practical guide to processing next generation sequencing data  No details on the inner workings of the software/code &
Polymorphism and Variant Analysis Lab
PLINK tutorial, December 2006; Shaun Purcell, PLINK gPLINK Haploview Whole genome association software tutorial Shaun Purcell.
Factors to Consider in Selecting a Genotyping Platform Elizabeth Pugh June 22, 2007.
Galaxy for Bioinformatics Analysis An Introduction TCD Bioinformatics Support Team Fiona Roche, PhD Date: 31/08/15.
Polymorphism & Variant Analysis Lab Saurabh Sinha Polymorphism and Variant Analysis Lab v1 | Saurabh Sinha 1 Powerpoint by Casey Hanson.
In Excel 2&3 we saw that females’ brains are significantly smaller than the males'. If we standardise brain size relatively to body weight, then there.
F:\sarah\fri_MV. Multivariate Linkage and Association Sarah Medland and Manuel Ferreira -with heavy borrowing from Kate Morley and Frühling Rijsdijk.
FastMap Tutorial. Installation Requirements Computer with 2GB of RAM JAVA Runtime Environment (JRE) 6 =1281.
Normal Distribution.
(Re)introduction to Unix Sarah Medland. So Unix…  Long and venerable history  
Selection Sort
(Re)introduction to Unix Sarah Medland. So Unix…  Long and venerable history  
A B Supporting Information Figure S1: Distribution of the density of expression intensities for the complete microarray dataset (A) and after removal of.
Genome-wide association studies (GWAS) Thomas Hoffmann Department of Epidemiology and Biostatistics, and Institute for Human Genetics.
PLINK / Haploview Whole genome association software tutorial
GenABEL: an R package for Genome Wide Association Analysis
1 Data Quality Control in Genome-wide Genetic Analyses Wei V. Chen July 2, 2008.
Schematic of the single variant polymorphism (SNP) genotyping assay.
Inheritance Model testing Andrew Stubbs Dept. Bioinformatics.
Michael Feolo Outline  What is dbGaP  How to get your study registered  How to submit data  Not Covered  SRA Submission.
Genome-Wide Association Studies (GWAS) Study design: Case/Control, Family-based, Cohort Phenotype: Dichotomous, Quantitative 10 3 – 10 5 individuals; 10.
Quality Control Using EasyQC & Meta-Analysis in METAL
Imputation Sarah Medland Boulder 2015.
Amos Tanay Nir Yosef 1st HCA Jamboree, 8/2017
GCTA Practical 2.
CellExpress Examples A Comprehensive Microarray-Based Cancer Cell Line and Clinical Sample Gene Expression Analysis Online System :8080 NTU.
(B.P :51) ( B:P52 ).
IBGP705 GEO—Gene Expression Omnibus
Scatter Plot Add your comments here..
Genome-Wide Pharmacogenomic Study on Methadone Maintenance Treatment
Zhengzheng Tang and Danyu Lin March 26, 2013
GxG and GxE.
GWAS Binomal Data: Chr 1 Group 3 Stacey Meeker, Rosela Golloshi, Sander Frank, Zachary Richards, Mohammad Abu Zaid, Heping Xu.
R Data Manipulation Bootstrapping
ESP6800 BP Analysis (recessive model)
Introduction to Data Formats and tools
The Linux Command Line Chapter 6
كيــف تكتـب خطـة بحـث سيئـة ؟؟
الدكتـور/ عبدالناصـر محمـد عبدالحميـد
إعداد المشرفة التربوية نجلاء الجارد
אביבה אלקלעי, ראש היחידה לכניסה להוראה, המכללה האקדמית אחווה
מהו הסטאז'? המכללה האקדמית תלפיות.
Regional genome association plots for the GWAS results of the FADS1/2/3 region of chromosome 11. Regional genome association plots for the GWAS results.
Using TASSEL Getting TASSEL
Analysing imputed data in raremetalworker
Maps and Charts In Statistics Denmark.
representing Linear functions
A Tutorial Lincoln Stein, Cold Spring Harbor Laboratory
Bell Ringer-10/15/2012 Map the following points…
Тархи ба оюун \Brain and Mind\
Genome-wide Complex Trait Analysis and extensions
Volume 19, Issue 15, Pages (August 2009)
Lab 7: Filtering.
Validation study of endogenous reference genes for normalization of quantitative real time PCR data in post mortem skin tissue  I. Gomes, K. Becker, M.A.
A Versatile Gene-Based Test for Genome-wide Association Studies
Pei-Lung Chen, Dimitrios Avramopoulos, Virginia K. Lasseter, John A
Population Stratification Practical
Transcripts enriched and depleted in NB TICs compared with SKPs and other tumor tissues. Transcripts enriched and depleted in NB TICs compared with SKPs.
Presentation transcript:

More Plink + R plotting Sarah Medland 2017

Todays Data http://labs.med.miami.edu/myers/LFuN/LFuN.html post-mortem gene expression in ‘brain’ tissue N=364 Real data – unfiltered! 2

Plink 2 Ungzip the ped file gzip –d adgwas.ped Read in data and make a bed file plink --ped xxxxx --map xxxx --out myersNoQC --make-bed

Plink 2 Remove person WGACON120 (duplicate) & others dropped in the analyses Make a list of FID and IIDs that we want to drop in a file called drop.list

Plink 2 Read in data, filter it and make a bed file Plink --bfile myersNoQC --geno .05 --mind .05 --maf .05 --hwe 1e-06 --remove drop.list --out myersQC --make-bed

Plink 2 There are 8650 expression phenotypes available Chose 1 of the probes from Table 2 plink --bfile myersQC --pheno xxxxx --pheno-name xxxxx --assoc --out myersADgwas

Plink 2 Rerun using the non Qced data plink --bfile myersNoQC --pheno xxxxx --pheno-name xxxxx --assoc --out myersAD_NoQC

Take a look at your output Head Tail sort –fg –k 9 myersADgwas.qassoc | head -20 sort –fg –k 9 myersAD_NoQC.qassoc | head -20

Load your results into R and lets make plots res<-read.table(“myersADgwas.qassoc”, header=T) head(res) max(res$P) min(res$P) as.data.frame(table(res$CHR))

Plotting GWAS results Install qqman library(qqman) manhattan(res) Chose CRAN mirror Expects headers: SNP CHR BP P library(qqman) manhattan(res) Also see http://genome.sph.umich.edu/wiki/Code_Sample:_Generating_Manhattan_Plots_in_R

QQ plot with confidence intervals http://genome.sph.umich.edu/wiki/Code_Sample:_Generating_QQ_Plots_in_R source(“qqunif.R”) qqunif.plot(res$P)