Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions GWAS_using_GAPIT/Calling_the_Packages/customTests.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Put custom tests in this file.

# Uncommenting the following line of code will disable
# auto-detection of new variables and thus prevent swirl from
# executing every command twice, which can slow things down.

# AUTO_DETECT_NEWVAR <- FALSE

# However, this means that you should detect user-created
# variables when appropriate. The answer test, creates_new_var()
# can be used for for the purpose, but it also re-evaluates the
# expression which the user entered, so care must be taken.
Empty file.
4 changes: 4 additions & 0 deletions GWAS_using_GAPIT/Calling_the_Packages/initLesson.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Code placed in this file fill be executed every time the
# lesson is started. Any variables created here will show up in
# the user's working directory and thus be accessible to them
# throughout the lesson.
11 changes: 11 additions & 0 deletions GWAS_using_GAPIT/Calling_the_Packages/lesson.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
- Class: meta
Course: GWAS using GAPIT
Lesson: Calling the Packages
Author: your name goes here
Type: Standard
Organization: your organization's name goes here
Version: 2.4.5


- Class: text
Output: Install & include multtest, gplots, LDheatmap, genetics, MASS, compiler, RColorBrewer, scatterplot3d
12 changes: 12 additions & 0 deletions GWAS_using_GAPIT/Data_Types/customTests.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Put custom tests in this file.

# Uncommenting the following line of code will disable
# auto-detection of new variables and thus prevent swirl from
# executing every command twice, which can slow things down.

# AUTO_DETECT_NEWVAR <- FALSE

# However, this means that you should detect user-created
# variables when appropriate. The answer test, creates_new_var()
# can be used for for the purpose, but it also re-evaluates the
# expression which the user entered, so care must be taken.
Empty file.
4 changes: 4 additions & 0 deletions GWAS_using_GAPIT/Data_Types/initLesson.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Code placed in this file fill be executed every time the
# lesson is started. Any variables created here will show up in
# the user's working directory and thus be accessible to them
# throughout the lesson.
36 changes: 36 additions & 0 deletions GWAS_using_GAPIT/Data_Types/lesson.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
- Class: meta
Course: GWAS using GAPIT
Lesson: Data
Author: your name goes here
Type: Standard
Organization: your organization's name goes here
Version: 2.4.5

- Class: text
Output: Types of input data Phenotypic Data & Genotypic Data & Types of Output Manhattan plots

- Class: text
Output: Phenotype data looks like

- Class: text
Output: Genotype data can be in many formats like genotype data in hapmap format; genotype data in numerical format; genotype map; kinship; covariate variables

- Class: text
Output: We will use hapmap format where the SNP information (chromosome and position) and genotype of each taxa to be stored in one file.

- Class: text
Output: SNP name , the chrom column and the pos are used

- Class: text
Output:
analysis
General Linear Model (GLM)
Mixed Linear Model (MLM)
Compressed MLM (CMLM)
Enriched CMLM (ECMLM)
Settlement of MLM Under Progressively Exclusive Relationship (SUPER)
Fixed and random model Circulating Probability Unification (FarmCPU)
Bayesian-information and Linkagedisequilibrium Iteratively Nested Keyway (BLINK)
We would not explain these models one can get inference from which they find suitable, anyhow litrature suggests BLINK > FarmCPU> MLMM > SUPER > ECMLM > CMLM > MLM > GLM.


12 changes: 12 additions & 0 deletions GWAS_using_GAPIT/Getting_GAPIT_Functions_&_Libraries/customTests.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Put custom tests in this file.

# Uncommenting the following line of code will disable
# auto-detection of new variables and thus prevent swirl from
# executing every command twice, which can slow things down.

# AUTO_DETECT_NEWVAR <- FALSE

# However, this means that you should detect user-created
# variables when appropriate. The answer test, creates_new_var()
# can be used for for the purpose, but it also re-evaluates the
# expression which the user entered, so care must be taken.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Code placed in this file fill be executed every time the
# lesson is started. Any variables created here will show up in
# the user's working directory and thus be accessible to them
# throughout the lesson.
25 changes: 25 additions & 0 deletions GWAS_using_GAPIT/Getting_GAPIT_Functions_&_Libraries/lesson.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
- Class: meta
Course: GWAS using GAPIT
Lesson: Getting GAPIT Functions & Libraries
Author: your name goes here
Type: Standard
Organization: your organization's name goes here
Version: 2.4.5

- Class: cmd_question
Output: read this code http://zzlab.net/GAPIT/GAPIT.library.R
CorrectAnswer: source("http://zzlab.net/GAPIT/GAPIT.library.R")
AnswerTests: omnitest(correctExpr='EXPR', correctVal=VAL)
Hint: source("http://zzlab.net/GAPIT/GAPIT.library.R")

- Class: cmd_question
Output: read this function http://zzlab.net/GAPIT/gapit_functions.txt
CorrectAnswer: source("http://zzlab.net/GAPIT/gapit_functions.txt")
AnswerTests: omnitest(correctExpr='EXPR', correctVal=VAL)
Hint: source("http://zzlab.net/GAPIT/gapit_functions.txt")

- Class: cmd_question
Output: read this function http://www.zzlab.net/GAPIT/emma.txt for using Efficient Mixed-Model Association
CorrectAnswer: source("http://www.zzlab.net/GAPIT/emma.txt")
AnswerTests: omnitest(correctExpr='EXPR', correctVal=VAL)
Hint: source("http://www.zzlab.net/GAPIT/emma.txt")
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Put custom tests in this file.

# Uncommenting the following line of code will disable
# auto-detection of new variables and thus prevent swirl from
# executing every command twice, which can slow things down.

# AUTO_DETECT_NEWVAR <- FALSE

# However, this means that you should detect user-created
# variables when appropriate. The answer test, creates_new_var()
# can be used for for the purpose, but it also re-evaluates the
# expression which the user entered, so care must be taken.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Code placed in this file fill be executed every time the
# lesson is started. Any variables created here will show up in
# the user's working directory and thus be accessible to them
# throughout the lesson.
22 changes: 22 additions & 0 deletions GWAS_using_GAPIT/Getting_the_data_&_required_packages/lesson.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
- Class: meta
Course: GWAS using GAPIT
Lesson: Getting the data & required packages
Author: your name goes here
Type: Standard
Organization: your organization's name goes here
Version: 2.4.5

- Class: text
Output: install Packages Biobase, BiocGenerics, BiocManager, curl & RCurl

- Class: cmd_question
Output: download this file http://zzlab.net/GAPIT/GAPIT_Tutorial_Data.zip
CorrectAnswer: download.file(url = "http://zzlab.net/GAPIT/GAPIT_Tutorial_Data.zip", destfile="GAPIT_Tutorial_Data.zip")
AnswerTests: omnitest(correctExpr='EXPR', correctVal=VAL)
Hint: download.file(url = "http://zzlab.net/GAPIT/GAPIT_Tutorial_Data.zip", destfile="GAPIT_Tutorial_Data.zip")

- Class: cmd_question
Output: unzip the downloaded file GAPIT_Tutorial_Data.zip
CorrectAnswer: unzip("GAPIT_Tutorial_Data.zip")
AnswerTests: omnitest(correctExpr='EXPR', correctVal=VAL)
Hint: unzip("GAPIT_Tutorial_Data.zip")
12 changes: 12 additions & 0 deletions GWAS_using_GAPIT/Introduction/customTests.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Put custom tests in this file.

# Uncommenting the following line of code will disable
# auto-detection of new variables and thus prevent swirl from
# executing every command twice, which can slow things down.

# AUTO_DETECT_NEWVAR <- FALSE

# However, this means that you should detect user-created
# variables when appropriate. The answer test, creates_new_var()
# can be used for for the purpose, but it also re-evaluates the
# expression which the user entered, so care must be taken.
Empty file.
4 changes: 4 additions & 0 deletions GWAS_using_GAPIT/Introduction/initLesson.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Code placed in this file fill be executed every time the
# lesson is started. Any variables created here will show up in
# the user's working directory and thus be accessible to them
# throughout the lesson.
20 changes: 20 additions & 0 deletions GWAS_using_GAPIT/Introduction/lesson.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
- Class: meta
Course: GWAS using GAPIT
Lesson: Introduction
Author: your name goes here
Type: Standard
Organization: your organization's name goes here
Version: 2.4.5

- Class: text
Output: This lesson is an introduction to GWAS & GAPIT

- Class: text
Output: Genome-wide association study (GWAS) is an approach used in genetics to associate genome-wide set of genetic variants (SNPs) in different individuals with the observed phenotype. If one type of the variant is more frequent in members of the population with the observed trait, the variant is said to be associated with that trait.

- Class: text
Output: GAPIT is Genomic Association and Prediction Integrated Tool (http://www.zzlab.net/GAPIT/)

- Class: text
Output: It produces the distribution of marker density and decay of linkage equilibrium to inform user if the markers are dense enough.

7 changes: 7 additions & 0 deletions GWAS_using_GAPIT/MANIFEST
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Introduction
Data_Types
Getting_the_data_&_required_packages
Getting_GAPIT_Functions_&_Libraries
Calling_the_Packages
Reading_files_&_Calling_GAPIT
Outputs
12 changes: 12 additions & 0 deletions GWAS_using_GAPIT/Outputs/customTests.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Put custom tests in this file.

# Uncommenting the following line of code will disable
# auto-detection of new variables and thus prevent swirl from
# executing every command twice, which can slow things down.

# AUTO_DETECT_NEWVAR <- FALSE

# However, this means that you should detect user-created
# variables when appropriate. The answer test, creates_new_var()
# can be used for for the purpose, but it also re-evaluates the
# expression which the user entered, so care must be taken.
Empty file.
4 changes: 4 additions & 0 deletions GWAS_using_GAPIT/Outputs/initLesson.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Code placed in this file fill be executed every time the
# lesson is started. Any variables created here will show up in
# the user's working directory and thus be accessible to them
# throughout the lesson.
54 changes: 54 additions & 0 deletions GWAS_using_GAPIT/Outputs/lesson.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
- Class: meta
Course: GWAS using GAPIT
Lesson: outputs
Author: your name goes here
Type: Standard
Organization: your organization's name goes here
Version: 2.4.5

- Class: text
Output:
Outputs

Phenotype diagnosis
scatter plot
histogram
box plot
accumulative distribution

Marker density

Linkage Disequilibrium Decade

Heterozygosis

Principal Component (PC) plot

Kinship plot

Neighbor-Joining (NJ)-tree

QQ-plot

Manhattan Plot

Compression Profile

The Optimum Compression

Model Selection Results

Multiple traits or methods

Genomic Prediction

Distribution of BLUPs and their PEV

Interactive plot


Tables
Association Table
Allelic Effects Table


12 changes: 12 additions & 0 deletions GWAS_using_GAPIT/Reading_files_&_Calling_GAPIT/customTests.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Put custom tests in this file.

# Uncommenting the following line of code will disable
# auto-detection of new variables and thus prevent swirl from
# executing every command twice, which can slow things down.

# AUTO_DETECT_NEWVAR <- FALSE

# However, this means that you should detect user-created
# variables when appropriate. The answer test, creates_new_var()
# can be used for for the purpose, but it also re-evaluates the
# expression which the user entered, so care must be taken.
Empty file.
4 changes: 4 additions & 0 deletions GWAS_using_GAPIT/Reading_files_&_Calling_GAPIT/initLesson.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Code placed in this file fill be executed every time the
# lesson is started. Any variables created here will show up in
# the user's working directory and thus be accessible to them
# throughout the lesson.
31 changes: 31 additions & 0 deletions GWAS_using_GAPIT/Reading_files_&_Calling_GAPIT/lesson.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
- Class: meta
Course: GWAS using GAPIT
Lesson: Reading files & Calling GAPIT
Author: your name goes here
Type: Standard
Organization: your organization's name goes here
Version: 2.4.5

- Class: cmd_question
Output: set the working directory to the unziped file
CorrectAnswer: setwd("./GWAS_GAPIT/GAPIT_Tutorial_Data")
AnswerTests: omnitest(correctExpr='EXPR', correctVal=VAL)
Hint: setwd("./GWAS_GAPIT/GAPIT_Tutorial_Data")

- Class: cmd_question
Output: read the phenotypic data from file mdp_traits.txt & assign to variable myY
CorrectAnswer: myY <- read.table("mdp_traits.txt", head = TRUE)
AnswerTests: omnitest(correctExpr='EXPR', correctVal=VAL)
Hint: myY <- read.table("mdp_traits.txt", head = TRUE)

- Class: cmd_question
Output: read the hapmap data from file mdp_genotype_test.hmp.txt & assign to variable myG
CorrectAnswer: myG <- read.table("mdp_genotype_test.hmp.txt", head = FALSE)
AnswerTests: omnitest(correctExpr='EXPR', correctVal=VAL)
Hint: myG <- read.table("mdp_genotype_test.hmp.txt", head = FALSE)

- Class: cmd_question
Output: Use GAPIT on these variables & assign to variable myGAPIT , relax for a while
CorrectAnswer: myGAPIT <- GAPIT( Y=myY,G=myG,PCA.total=3 )
AnswerTests: omnitest(correctExpr='EXPR', correctVal=VAL)
Hint: myGAPIT <- GAPIT( Y=myY,G=myG,PCA.total=3 )
1 change: 0 additions & 1 deletion README.md

This file was deleted.