Skip to content

Commit

Permalink
Added CITATION file.
Browse files Browse the repository at this point in the history
  • Loading branch information
pcarbo committed Mar 11, 2019
1 parent 6f0b689 commit 455de90
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 19 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Package: mashr
Type: Package
Encoding: UTF-8
Title: Multivariate Adaptive Shrinkage
Version: 0.2.20.0582
Date: 2019-02-08
Version: 0.2.20.0583
Date: 2019-02-11
Authors@R: c(person("Matthew","Stephens",role=c("aut","cre"),
email="[email protected]"),
person("Sarah","Urbut",role="aut"),
Expand Down
29 changes: 12 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@ covariances](https://stephenslab.github.io/mashr/articles/intro_mash_dd.html)
and [Simulation with non-canonical
matrices](https://stephenslab.github.io/mashr/articles/simulate_noncanon.html).

## Citing this work

If you find the masr package or any of the source code in this
repository useful for your work, please cite:

> Sarah Urbut, Gao Wang, Peter Carbonetto and Matthew Stephens
> (2019). [Flexible statistical methods for estimating and testing effects in genomic studies with multiple conditions.][mash-paper]
> *Nature Genetics* **51**, 187-195.
## Setup

Please follow these steps to install mashr.
Expand All @@ -38,7 +47,7 @@ Please follow these steps to install mashr.
properly set up to compile packages with C++ source; in particular,
the C++ compiler programs supported by your version of R should be
installed on your computer, and R should be correctly configured to
call these compilers. See the [documentation on CRAN][cran-docs]
call these compilers. See the [CRAN documentation][cran-docs]
for more information.

2. Install the [latest release][mashr-release-latest] of the mashr
Expand All @@ -57,10 +66,10 @@ Please follow these steps to install mashr.
devtools::install_github("stephens999/ashr")
```

3. Additional packages needed to build vignettes:
3. Several additional packages are needed to build vignettes:

```R
install.packages("kableExtra")
install.packages(c("kableExtra","corrplot"))
devtools::install_github("stephenslab/flashr")
devtools::install_github("stephenslab/mashr",build_vignettes = TRUE)
```
Expand All @@ -81,20 +90,6 @@ library(pkgdown)
build_site(mathjax = FALSE)
```

## Citing this work

If you find the masr package or any of the source code in this
repository useful for your work, please cite:

> Sarah Urbut, Gao Wang, Peter Carbonetto and Matthew Stephens
> (2019). [Flexible statistical methods for estimating and testing effects in genomic studies with multiple conditions.][mash-paper]
> *Nature Genetics* **51**, 187-195.
## Citation

If the data or code in this repository are useful for your research
project, please cite our preprint:

[cran-docs]: https://cran.r-project.org/manuals.html
[mash-paper]: https://doi.org/10.1038/s41588-018-0268-8
[mashr-release-latest]: https://github.com/stephenslab/mashr/releases/tag/v0.2-9
Expand Down
19 changes: 19 additions & 0 deletions inst/CITATION
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
citHeader("To cite the mashr package in publications use:")

citEntry(entry = "Article",
title =
paste("Flexible statistical methods for estimating and testing",
"effects in genomic studies with multiple conditions"),
author = paste("Sarah Urbut, Gao Wang, Peter Carbonetto and",
"Matthew Stephens"),
journal = "Nature Genetics",
volume = 51,
number = 1,
pages = "187--195",
year = "2019",

textVersion =
paste("Sarah Urbut, Gao Wang, Peter Carbonetto and Matthew",
"Stephens (2019). Flexible statistical methods for",
"estimating and testing effects in genomic studies with",
"multiple conditions. Nature Genetics 51(1), 187-195."))

0 comments on commit 455de90

Please sign in to comment.