To cite the mashr package in publications use: 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. A BibTeX entry for LaTeX users is @Article{, title = {Flexible statistical methods for estimating and testing effects in genomic studies with multiple conditions}, author = {{Sarah Urbut} and {Gao Wang} and {Peter Carbonetto} and {Matthew Stephens}}, journal = {Nature Genetics}, volume = {51}, number = {1}, pages = {187--195}, year = {2019}, }