https://github.com/btmoyers/qpc-maize
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 1 DOI reference(s) in README -
✓Academic publication links
Links to: wiley.com -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.9%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
Repository
Basic Info
- Host: GitHub
- Owner: btmoyers
- License: mit
- Default Branch: master
- Size: 210 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Fork of emjosephs/qpc-maize
Created over 6 years ago
· Last pushed over 6 years ago
https://github.com/btmoyers/qpc-maize/blob/master/
# qpc scripts for detecting polygenic adaptation in maize using Qpc. ## Getting started all processed data is in the **data** folder, generally in .rda files **qpctools** contains what's needed for an R package with functions needed to do the analysis. This package is installed by running the following command: ``` Rscript install_qpctools.R ``` You must have the R packages devtools installed already Other required packages are *mass*, *dplyr*, *qvalue*, [*LaCroixColoR*](https://github.com/johannesbjork/LaCroixColoR) and *viridis* ## Qpc **Qpc-gwaspanel.md** has scripts for running Qpc in a panel of 240 maize lines with associated phenotypes. **Qpc-ames.md** has scripts for running Qpc on polygenic scores to test for polygenic adaptation in the Ames panel. **Qpc-euro.md** has scripts for running Qpc on polygenic scores to test for polygenic adaptation in European landraces. ## Simulations **Simulations-traitqpc.md** has code for running simulations on trait Qpc in the GWAS panel. **Simulations-polygenicqpc.md** has code for running simulations on polygenic Qpc in the ames panel and European landraces. **power\_simulations.md** has code for running power simulations in the European landraces. I have not included the files needed to run the simulations because they are quite large, but I can provide them upon request or put them up on figshare if there is demand. ## Data Here is a description of the files in data **263-gwas-results** has results from GWAS that correspond to Qpc analysis on polygenic scores in European landraces. These files only have significant hits, the full association mapping results are on [figshare](https://figshare.com/articles/263_GWAS/6807473) **281-gwas-results** has results from GWAS that correspond to Qpc analysis on polygenic scores in the Ames panel. The entire output file from GEMMA is available on [figshare](https://figshare.com/articles/281_GWAS/6807461). The kinship matrix used in Qpc on traits in the GWAS Panel is in **All\_240E.nomaf.nomissing.K**. The kinship matrix used in Qpc on polygenic scores in the Ames panel is in **ames.281E.K.rda** and the matrix for the Ames panel only is in **amesOnly.E.K.rda** The kinship matrix used in Qpc on on polygenic scores in the European landraces is in **euro.282.E.rda** and the landrace-only matrix (after eigendecomposition) is in **euro-only-eigen.rda**. **240.names**, and **merged263Landraces.names** have the names of individuals in the kinship matrices **All\_240E.nomaf.nomissing.K** and **euro.282.E.rda** respectively. **blup.names** ahs the names of the traits in the order they are indexed. **FlintGarciaTableS1.csv** has data for the GWAS panel from [Flint-Garcia et al. 2005](https://onlinelibrary.wiley.com/doi/abs/10.1111/j.1365-313X.2005.02591.x) and **eurolandraceinfo.csv** has info about the European landraces. ## Figures Here are scripts to generate figures used in the preprint ## Etc Thanks to Hilary Parker for the guide on making a personal R package: https://hilaryparker.com/2014/04/29/writing-an-r-package-from-scratch/
Owner
- Name: Brook Moyers
- Login: btmoyers
- Kind: user
- Location: Boston, MA, USA
- Company: University of Massachusetts Boston
- Website: http://www.brookmoyers.com
- Repositories: 1
- Profile: https://github.com/btmoyers
Assistant Professor of Ecological Genomics --- I study how and why individuals vary within crop species wild relatives.