Introduction to the Data Set
Figure 1
Created in
BioRender.com
Figure 2
![Figure showing intercross breeding design.](../fig/intercross.png)
Input File Format
Figure 1
![Table showing the mouse genotypes as BB, BR, and RR.](../fig/attie_geno_sample.png)
Figure 2
![Table showing the marker, chromosome, and centimorgan position for five markers](../fig/attie_geno_map_sample.png)
Figure 3
![Table showing top five rows of physical marker map.](../fig/attie_phys_map_sample.png)
Figure 4
![Table showing top five rows of phenotype table, including insulin](../fig/attie_pheno_sample.png)
Figure 5
![Table showing the top five rows of covariates table](../fig/attie_covar_sample.png)
Figure 6
![Figure showing the qtl2 control file](../fig/attie_control_file_sample.png)
Calculating Genotype Probabilities
Figure 1
![a chromosome with two typed markers labeled BR and RR with a locus of unknown genotype between them](../fig/unknown_genotype.png)
Figure 2
![Figure showing three-dimensional array of genotype probabilities (genoprobs)](../fig/threeD_array.png)
Figure 3
Notice that arrays in R require data to be all of the same type - all
numeric, all character, all Boolean, etc. If you are familiar with data
frames in R you know that you can mix different kinds of data in that
structure. The first column might contain numeric data, the second
column character data, the third Boolean (True / False), and so on.
Arrays won’t accept mixed data types though.
Figure 4
![](../fig/calc-genoprob-rendered-plot_genoprob-1.png)
Figure 5
![a workflow diagram showing genotypes and genetic maps used to calculate genotype probabilities](.././fig/mapping-workflow-calc-genoprob.png)
Performing a Genome Scan
Figure 1
![Null and alternative hypotheses](../fig/nullvalt.png)
Figure 2
Figure 3
![Haley Knott regression](../fig/hk-regress.png)
Figure 4
![Figure showing sex and additive QTL effects.](../fig/additive_qtl_effect_w_sex.png)
Figure 5
![Figure showing sex and additive QTL effects.](../fig/additive_qtl_effect_wo_sex.png)
Figure 6
![](../fig/perform-genome-scan-rendered-plot_add_lod-1.png)
Figure 7
![A workflow diagram showing genotypes and genetic map used to calculate genotype probabilities which are then used to perform a genome scan along with phenotypes, covariates, and an optional physical map](.././fig/mapping-workflow-genome-scan.png)
Figure 8
![](../fig/perform-genome-scan-rendered-challenge3-1.png)
Figure 9
![Figure showing interactive sex by QTL effects](../fig/interactive_qtl_effect_w_sex.png)
Figure 10
![](../fig/perform-genome-scan-rendered-plot_int-1.png)
Figure 11
![](../fig/perform-genome-scan-rendered-plot_add_int_lod-1.png)
Figure 12
![](../fig/perform-genome-scan-rendered-plot_add_int_diff_lod-1.png)
Calculating A Kinship Matrix
Figure 1
![](../fig/calc-kinship-rendered-plot_kinship-1.png)
Figure 2
{alt=“Part
of the mapping workflow starting with genotypes and a genetic map used
to calculate genotype probabilities, which are then used to calculate
kinship between individuals in the data.} By default, the genotype
probabilities are converted to allele probabilities, and the kinship
matrix is calculated as the proportion of shared alleles. Also by
default we omit the X chromosome and only use the autosomes. To include
the X chromosome, use
omit_x=FALSE
.
Figure 3
![](../fig/calc-kinship-rendered-challenge4-1.png)
Performing a genome scan with a linear mixed model
Figure 1
![A world map showing the origins and ranges of five Mus musculus subspecies: domesticus, musculus, castaneus, bactrianus and molossinus](https://www.informatics.jax.org/silver/images/figure2-3.gif)
Figure 2
![A genealogy chart showing the origin of commonly used inbred strains as Chinese, Japanese and English mouse fanciers. Abby Lathrop of Granby Mouse Farm supplied fancy mice to researchers including Marsh, C.C. Little, MacDowell, Castle and Strong in the early 1900s. These mice were developed into common inbred strains such as C57BL, 129, DBA and C3H strains.](https://www.informatics.jax.org/morsebook/images/1-10as.jpg)
Figure 3
![Null versus alternative hypotheses](../fig/nullvalt.png)
Figure 4
![](../fig/perform-genome-scan-lmm-rendered-plot_lod_all-1.png)
Figure 5
![](../fig/perform-genome-scan-lmm-rendered-plot_lod_add_loco_all-1.png)
Figure 6
![](../fig/perform-genome-scan-lmm-rendered-plot_loco_none-1.png)
Performing a Genome Scan with Binary Traits
Figure 1
![C57BL/6J mouse](../fig/C57BL_6J_000664.png)
Figure 2
![BTBR](../fig/BTBR_002282.png)
Figure 3
![C3H/HeJ mouse](../fig/C3H_HeJ_000659.png)
Figure 4
![Image showing tufted hair loss in BTBR mouse](../fig/Ellis_JHered_2013.jpg)
Figure 5
![](../fig/perform-genome-scan-bin-rendered-plot_bin_scan-1.png)
Figure 6
![](../fig/perform-genome-scan-bin-rendered-plot_bin_scan_chr2-1.png)
Figure 7
![](../fig/perform-genome-scan-bin-rendered-challenge2b-1.png)
Finding Significant Peaks via Permutation
Figure 1
![](../fig/perform-perm-test-rendered-hist_perm-1.png)
Figure 2
![Figure showing decreasing variance of significance threshold estimates with increasing permutations](../fig/permutation_simulations.png)
Figure 3
As with
scan1()
, you can speed up the calculations on a
multi-core machine by specifying the argument cores
. With
cores=0
, the number of available cores will be detected via
parallel::detectCores()
. Otherwise, specify the number of
cores as a positive integer. For large data sets, be mindful of the
amount of memory that will be needed; you may need to use fewer than the
maximum number of cores, to avoid going beyond the available memory.
Figure 4
![Comparison of significance thresholds](../fig/perm_kinship.png)
Finding QTL peaks
Figure 1
![](../fig/find-lod-peaks-rendered-plot_scan1-1.png)
Estimating QTL effects
Figure 1
![Null and alternative hypotheses](../fig/nullvalt.png)
Figure 2
![](../fig/est-qtl-effects-rendered-plot_coef-1.png)
Figure 3
![](../fig/est-qtl-effects-rendered-plot_effects_chr19-1.png)
Figure 4
![](../fig/est-qtl-effects-rendered-plot_blup_chr19-1.png)
Figure 5
![](../fig/est-qtl-effects-rendered-plot_blup_chr19_again-1.png)
Figure 6
![](../fig/est-qtl-effects-rendered-plot_fit1-1.png)
Figure 7
::::::::::::::::::::::::::::::::::::: challenge
Figure 8
![](../fig/est-qtl-effects-rendered-challenge5a-1.png)
Figure 9
![](../fig/est-qtl-effects-rendered-challenge5d-1.png)
Figure 10
![Figure showing additive & dominance QTL effects](../fig/add_dom_qtl_effect.png)
Figure 11
![](../fig/est-qtl-effects-rendered-plot_add_dom_contrasts-1.png)
Figure 12
![](../fig/est-qtl-effects-rendered-challenge6b-1.png)
Figure 13
![](../fig/est-qtl-effects-rendered-plot_pheno_geno_se-1.png)
Integrating Gene Expression Data
Figure 1
![](../fig/integrating-gene-expression-rendered-snp_density-1.png)
Figure 2
![](../fig/integrating-gene-expression-rendered-plot_1_eqtl-1.png)
Figure 3
![](../fig/integrating-gene-expression-rendered-plot_insulin_qtl-1.png)
Figure 4
![](../fig/integrating-gene-expression-rendered-med_plot_10002936879-1.png)
Figure 5
![](../fig/integrating-gene-expression-rendered-plot_mediation-1.png)
QTL Mapping in Diversity Outbred Mice
Figure 1
![Figure showing the colors and letter codes of the CC/DO founders.](../fig/cc-founder-alleles.png)
Figure 2
![Figure showing CC and DO genomes](../fig/cc-do-genome-comparison.png)
Figure 3
![Benzene study dosing showing 6 hours per day, 5 days per week of inhalation.](../fig/benzene_study_design.png)
Figure 4
![](../fig/do_qtl_mapping-rendered-unnamed-chunk-6-1.png)
Figure 5
![](../fig/do_qtl_mapping-rendered-unnamed-chunk-7-1.png)
Figure 6
![](../fig/do_qtl_mapping-rendered-unnamed-chunk-9-1.png)
Figure 7
![Three-dimensional figure of genoprobs list.](../fig/genoprobs_3D.png)
Figure 8
![](../fig/do_qtl_mapping-rendered-unnamed-chunk-19-1.png)
Figure 9
![a table showing the probabilities for each of 36 genotypes in the Diversity Outbred followed by a second table showing probabilities for each of the 8 founder alleles](../fig/geno-to-allele-probs.png)
Figure 10
![](../fig/do_qtl_mapping-rendered-kinship_probs-1.png)
Figure 11
![](../fig/do_qtl_mapping-rendered-qtl_plot-1.png)
Figure 12
![](../fig/do_qtl_mapping-rendered-unnamed-chunk-22-1.png)
Figure 13
![](../fig/do_qtl_mapping-rendered-unnamed-chunk-23-1.png)
Figure 14
![](../fig/do_qtl_mapping-rendered-unnamed-chunk-24-1.png)
Figure 15
![](../fig/do_qtl_mapping-rendered-unnamed-chunk-25-1.png)
Figure 16
![](../fig/do_qtl_mapping-rendered-unnamed-chunk-27-1.png)
Figure 17
![Figure showing haplotypes being used to impute founder SNPs onto DO genomes](../fig/DO.impute.founders.sm.png)
Figure 18
This plot shows
the LOD score for each SNP in the QTL interval. The SNPs occur in
“shelves” because all of the SNPs in a haplotype block have the same
founder strain pattern. The SNPs with the highest LOD scores are the
ones for which CAST/EiJ contributes the alternate allele.
Figure 19
Now that we have the genes in this interval, we would like to know which
founders have the minor allele for the SNPs with the highest LOD scores.
To do this, we will highlight SNPs that are within a 1 LOD drop of the
highest LOD and we will add an argument to show which founder
contributes the minor allele at the highlighted SNPs.
Figure 20
![Plot showing LOD of each SNP in QTL interval with genes below and strain distribution pattern above](../fig/bm_mnret_assoc_fig3.png)
Figure 21
The plot above shows the genome scane for two genes: Sult3a1
and Gm4794. Gm4794 has been renamed to
Sult3a2. As you can see, both Sult3a1 Sult3a2
have eQTL in the same location at the MN-RET QTL on chromosome 10. Mice
carrying the CAST allele (in green) express these genes more highly.
Sult3a1 is a sulfotransferase
that may be involved in adding a sulfate group to phenol, one of the
metabolites of benzene.
Figure 22
![Figure showing that Sult3a1 & 2 are paralogs](../fig/Ensembl_Mouse_Sult3a1_Sult3a2.png)
Figure 23
![Ensembl viewer showing genes and structural variants under that chromosome 10 QTL peak](../fig/Ensembl_SV_Chr10.png)
Figure 24
![Ensembl viewer showing genes and structural variants under that chromosome 10 QTL peak](../fig/Ensembl_SV_Chr10.png)
Figure 25
![Figure showing CAST with a duplication at the Sult3a1/2 locus.](../fig/French.et.al.Sup.Figure3.png)
Figure 26
![Figure showing benezene metabolism pathways](../fig/Monks_ChemBiolInter_2010_Fig1.jpg)
Figure 27
![Figure showing mice carrying the CAST allele being protected from benezene toxicity](../fig/benzene_hypothesis.png)
Figure 28
![](../fig/do_qtl_mapping-rendered-unnamed-chunk-33-1.png)
Figure 29
![](../fig/do_qtl_mapping-rendered-unnamed-chunk-37-1.png)
Figure 30
![](../fig/do_qtl_mapping-rendered-unnamed-chunk-39-1.png)
Figure 31
![Figure showing pre-dose MN-RET association mapping with WSB carrying the alternate allele](../fig/pre_mnret_assoc.png)