IDEAS home Printed from https://ideas.repec.org/a/plo/pcbi00/1004140.html
   My bibliography  Save this article

Speeding Up Ecological and Evolutionary Computations in R; Essentials of High Performance Computing for Biologists

Author

Listed:
  • Marco D Visser
  • Sean M McMahon
  • Cory Merow
  • Philip M Dixon
  • Sydne Record
  • Eelke Jongejans

Abstract

Computation has become a critical component of research in biology. A risk has emerged that computational and programming challenges may limit research scope, depth, and quality. We review various solutions to common computational efficiency problems in ecological and evolutionary research. Our review pulls together material that is currently scattered across many sources and emphasizes those techniques that are especially effective for typical ecological and environmental problems. We demonstrate how straightforward it can be to write efficient code and implement techniques such as profiling or parallel computing. We supply a newly developed R package (aprof) that helps to identify computational bottlenecks in R code and determine whether optimization can be effective. Our review is complemented by a practical set of examples and detailed Supporting Information material (S1–S3 Texts) that demonstrate large improvements in computational speed (ranging from 10.5 times to 14,000 times faster). By improving computational efficiency, biologists can feasibly solve more complex tasks, ask more ambitious questions, and include more sophisticated analyses in their research.

Suggested Citation

  • Marco D Visser & Sean M McMahon & Cory Merow & Philip M Dixon & Sydne Record & Eelke Jongejans, 2015. "Speeding Up Ecological and Evolutionary Computations in R; Essentials of High Performance Computing for Biologists," PLOS Computational Biology, Public Library of Science, vol. 11(3), pages 1-11, March.
  • Handle: RePEc:plo:pcbi00:1004140
    DOI: 10.1371/journal.pcbi.1004140
    as

    Download full text from publisher

    File URL: https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1004140
    Download Restriction: no

    File URL: https://journals.plos.org/ploscompbiol/article/file?id=10.1371/journal.pcbi.1004140&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pcbi.1004140?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Zeeya Merali, 2010. "Computational science: ...Error," Nature, Nature, vol. 467(7317), pages 775-777, October.
    2. Barry W. Brook & Julian J. O'Grady & Andrew P. Chapman & Mark A. Burgman & H. Resit Akçakaya & Richard Frankham, 2000. "Predictive accuracy of population viability analysis in conservation biology," Nature, Nature, vol. 404(6776), pages 385-387, March.
    3. Eddelbuettel, Dirk & Sanderson, Conrad, 2014. "RcppArmadillo: Accelerating R with high-performance C++ linear algebra," Computational Statistics & Data Analysis, Elsevier, vol. 71(C), pages 1054-1063.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Napoleón Vargas Jurado & Kent M. Eskridge & Stephen D. Kachman & Ronald M. Lewis, 2018. "Using a Bayesian Hierarchical Linear Mixing Model to Estimate Botanical Mixtures," Journal of Agricultural, Biological and Environmental Statistics, Springer;The International Biometric Society;American Statistical Association, vol. 23(2), pages 190-207, June.
    2. Etienne Côme & Nicolas Jouvin & Pierre Latouche & Charles Bouveyron, 2021. "Hierarchical clustering with discrete latent variable models and the integrated classification likelihood," Advances in Data Analysis and Classification, Springer;German Classification Society - Gesellschaft für Klassifikation (GfKl);Japanese Classification Society (JCS);Classification and Data Analysis Group of the Italian Statistical Society (CLADAG);International Federation of Classification Societies (IFCS), vol. 15(4), pages 957-986, December.
    3. Aaron T L Lun & Hervé Pagès & Mike L Smith, 2018. "beachmat: A Bioconductor C++ API for accessing high-throughput biological data from a variety of R matrix types," PLOS Computational Biology, Public Library of Science, vol. 14(5), pages 1-15, May.
    4. Tilman M. Davies & Sudipto Banerjee & Adam P. Martin & Rose E. Turnbull, 2022. "A nearest‐neighbour Gaussian process spatial factor model for censored, multi‐depth geochemical data," Journal of the Royal Statistical Society Series C, Royal Statistical Society, vol. 71(4), pages 1014-1043, August.
    5. Helmut Lutkepohl & Fei Shang & Luis Uzeda & Tomasz Wo'zniak, 2024. "Partial Identification of Heteroskedastic Structural VARs: Theory and Bayesian Inference," Papers 2404.11057, arXiv.org.
    6. John M Drake, 2005. "Density-Dependent Demographic Variation Determines Extinction Rate of Experimental Populations," PLOS Biology, Public Library of Science, vol. 3(7), pages 1-1, June.
    7. D.C & Nwankwoala & H. O & Okujagu, 2021. "A Review Of Wetlands And Coastal Resources Of The Niger Delta: Potentials, Challenges And Prospects," Environment & Ecosystem Science (EES), Zibeline International Publishing, vol. 5(1), pages 37-46, March.
    8. Battauz, Michela & Vidoni, Paolo, 2022. "A likelihood-based boosting algorithm for factor analysis models with binary data," Computational Statistics & Data Analysis, Elsevier, vol. 168(C).
    9. Cardona Jiménez, Johnatan & de B. Pereira, Carlos A., 2021. "Assessing dynamic effects on a Bayesian matrix-variate dynamic linear model: An application to task-based fMRI data analysis," Computational Statistics & Data Analysis, Elsevier, vol. 163(C).
    10. Lu Chen & Balgobin Nandram, 2023. "Bayesian Logistic Regression Model for Sub-Areas," Stats, MDPI, vol. 6(1), pages 1-23, January.
    11. Jos'e Vin'icius de Miranda Cardoso & Jiaxi Ying & Daniel Perez Palomar, 2020. "Algorithms for Learning Graphs in Financial Markets," Papers 2012.15410, arXiv.org.
    12. Batarce, Marco, 2024. "Estimation of discrete choice models with error in variables: An application to revealed preference data with aggregate service level variables," Transportation Research Part B: Methodological, Elsevier, vol. 185(C).
    13. Maximilian Böck & Martin Feldkircher & Florian Huber, 2020. "BGVAR: Bayesian Global Vector Autoregressions with Shrinkage Priors in R," Globalization Institute Working Papers 395, Federal Reserve Bank of Dallas.
    14. Shen, Yunyi & Olson, Erik R. & Van Deelen, Timothy R., 2021. "Spatially explicit modeling of community occupancy using Markov Random Field models with imperfect observation: Mesocarnivores in Apostle Islands National Lakeshore," Ecological Modelling, Elsevier, vol. 459(C).
    15. Zhe Yu & Raquel Prado & Erin Burke Quinlan & Steven C. Cramer & Hernando Ombao, 2016. "Understanding the Impact of Stroke on Brain Motor Function: A Hierarchical Bayesian Approach," Journal of the American Statistical Association, Taylor & Francis Journals, vol. 111(514), pages 549-563, April.
    16. Matthew Pietrosanu & Jueyu Gao & Linglong Kong & Bei Jiang & Di Niu, 2021. "Advanced algorithms for penalized quantile and composite quantile regression," Computational Statistics, Springer, vol. 36(1), pages 333-346, March.
    17. Jonathan Berrisch & Florian Ziel, 2021. "CRPS Learning," Papers 2102.00968, arXiv.org, revised Nov 2021.
    18. Ankargren, Sebastian & Jonéus, Paulina, 2021. "Simulation smoothing for nowcasting with large mixed-frequency VARs," Econometrics and Statistics, Elsevier, vol. 19(C), pages 97-113.
    19. Lee, Xing Ju & Hainy, Markus & McKeone, James P. & Drovandi, Christopher C. & Pettitt, Anthony N., 2018. "ABC model selection for spatial extremes models applied to South Australian maximum temperature data," Computational Statistics & Data Analysis, Elsevier, vol. 128(C), pages 128-144.
    20. François Bachoc & Marc G Genton & Klaus Nordhausen & Anne Ruiz-Gazen & Joni Virta, 2020. "Spatial blind source separation," Biometrika, Biometrika Trust, vol. 107(3), pages 627-646.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pcbi00:1004140. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: ploscompbiol (email available below). General contact details of provider: https://journals.plos.org/ploscompbiol/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.