Skip to content

Commit

Permalink
Update README and INDEX
Browse files Browse the repository at this point in the history
  • Loading branch information
HannahVMeyer committed Oct 26, 2018
1 parent a558503 commit e579d2f
Show file tree
Hide file tree
Showing 42 changed files with 146 additions and 327 deletions.
10 changes: 7 additions & 3 deletions INDEX.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,17 @@ knitr::include_graphics("docs/simulatedPhenotypes.png")

## <i class="fa fa-rocket" aria-hidden="true"></i> Installation

The current github version of *PhenotypeSimulator* is: 0.3.1 and can be
installed via
The current github version of *PhenotypeSimulator* is 0.3.1 and can be
installed via:
```{r, eval=FALSE}
library(devtools)
install_github("HannahVMeyer/PhenotypeSimulator")
```
The current CRAN version of *PhenotypeSimulator* is: 0.2.2 (soon to be updated!)
The current CRAN version of *PhenotypeSimulator* is 0.3.1 and can be installed
via:
```{r, eval=FALSE}
install.packages("PhenotypeSimulator")
```

A log of version changes can be found [here](https://github.com/HannahVMeyer/PhenotypeSimulator/blob/master/NEWS.md).

Expand Down
37 changes: 37 additions & 0 deletions INDEX.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@

<!-- README.md is generated from README.Rmd. Please edit that file -->
[![CRAN\_Status\_Badge](http://www.r-pkg.org/badges/version/PhenotypeSimulator)](https://cran.r-project.org/package=PhenotypeSimulator) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Downloads](http://cranlogs.r-pkg.org/badges/grand-total/PhenotypeSimulator?color=red)](http://cran.rstudio.com/web/packages/PhenotypeSimulator/index.html)

<i class="fa fa-cubes" aria-hidden="true"></i> PhenotypeSimulator
-----------------------------------------------------------------

**PhenotypeSimulator** allows for the flexible simulation of phenotypes from different genetic and non-genetic (noise) components.

In quantitative genetics, genotype to phenotype mapping is commonly realised by fitting a linear model to the genotype as the explanatory variable and the phenotype as the response variable. Other explanatory variable such as additional sample measures (e.g. age, height, weight) or batch effects can also be included. For linear mixed models, in addition to the fixed effects of the genotype and the covariates, different random effect components can be included, accounting for population structure in the study cohort or environmental effects. The application of linear and linear mixed models in quantitative genetics ranges from genetic studies in model organism such as yeast and *Arabidopsis thaliana* to human molecular, morphological or imaging derived traits. Developing new methods for increasing numbers of sample cohorts, phenotypic measurements or complexity of phenotypes to analyse, often requires the simulation of datasets with a specific underlying phenotype structure.

**PhenotypeSimulator** allows for the simulation of complex phenotypes under different models, including genetic variant effects and infinitesimal genetic effects (reflecting population structure) as well as correlated, non-genetic covariates and observational noise effects. Different phenotypic effects can be combined into a final phenotype while controlling for the proportion of variance explained by each of the components. For each component, the number of variables, their distribution and the design of their effect across traits can be customised.

<img src="docs/simulatedPhenotypes.png" width="100%" />

<i class="fa fa-rocket" aria-hidden="true"></i> Installation
------------------------------------------------------------

The current github version of *PhenotypeSimulator* is 0.3.1 and can be installed via:

``` r
library(devtools)
install_github("HannahVMeyer/PhenotypeSimulator")
```

The current CRAN version of *PhenotypeSimulator* is 0.3.1 and can be installed via:

``` r
install.packages("PhenotypeSimulator")
```

A log of version changes can be found [here](https://github.com/HannahVMeyer/PhenotypeSimulator/blob/master/NEWS.md).

<i class="fa fa-pencil" aria-hidden="true"></i> Citation
--------------------------------------------------------

Meyer, HV & Birney E (2018) [PhenotypeSimulator: A comprehensive framework for simulating multi-trait, multi-locus genotype to phenotype relationships](https://doi.org/10.1093/bioinformatics/bty197), *Bioinformatics*, 34(17):2951–2956
12 changes: 10 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ knitr::opts_chunk$set(
)
```

[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/PhenotypeSimulator)](https://cran.r-project.org/package=PhenotypeSimulator)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Downloads](http://cranlogs.r-pkg.org/badges/grand-total/PhenotypeSimulator?color=red)](http://cran.rstudio.com/web/packages/PhenotypeSimulator/index.html)

## <i class="fa fa-map" aria-hidden="true"></i> PhenotypeSimulator

**PhenotypeSimulator** allows for the flexible simulation of phenotypes from
Expand Down Expand Up @@ -45,15 +49,19 @@ be customised.
Full documentation of **PhenotypeSimulator** is available at
http://HannahVMeyer.github.io/PhenotypeSimulator/.

The current github version of *PhenotypeSimulator* is: 0.3.1 and can be
The current github version of *PhenotypeSimulator* is 0.3.1 and can be
installed via

```{r gh-installation, eval = FALSE}
# install.packages("devtools")
devtools::install_github("HannahVMeyer/PhenotypeSimulator")
```

The current CRAN version of *PhenotypeSimulator* is: 0.2.2 (soon to be updated!)
The current CRAN version of *PhenotypeSimulator* is 0.3.1 and can be installed
via:
```{r, eval=FALSE}
install.packages("PhenotypeSimulator")
```

A log of version changes can be found [here](https://github.com/HannahVMeyer/PhenotypeSimulator/blob/master/NEWS.md).

Expand Down
Loading

0 comments on commit e579d2f

Please sign in to comment.