summaryrefslogtreecommitdiff
path: root/topics/quality-control/shapiro-wilk-test.gmi
blob: b1bdbfdd0c4ff47d0aa841471695b12d3a220bfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Shapiro Wilk Test

This document contains more info about QC step 11.

https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.shapiro.html
https://vedexcel.com/how-to-perform-a-shapiro-wilk-test-in-python/

```
Here is a simple QC procedure we may want to consider that was used by
Megan and Camron in a recent paper  that I have attached.


Phenotypes were assessed for normality using the Shapiro–Wilk Test. Because
some of the data residuals devi- ated significantly from normality, we used
the orderNorm function to perform Ordered Quantile normalization43 on all
phenotypes.

--
Rob
```

```
QTL analysis was performed in F2 mice using the R package R/qtl
(RRID:SCR_009085) as previously described.11,29,42 Quality checking
of genotypes and QTL analysis were performed in R (https://www.r-
project.org/) using R/bestNormalize (https://github.com/petersonR/
bestNormalize) and R/qtl.42 Phenotypes were assessed for normality
using the Shapiro–Wilk Test. Because some of the data residuals devi-
ated significantly from normality, we used the orderNorm function to
perform Ordered Quantile normalization43 on all phenotypes. QTL
--
A quantitative trait variant in Gabra2 underlies increased methamphetamine stimulant sensitivity
```