To cite detrendr in publications use:

Nolan R, Alvarez L, Elegheert J, Iliopoulou M, Jakobsdottir GM, Rodriguez-Munoz M, Aricescu AR, Padilla-Parra S (2017). “nandb–—number and brightness in R with a novel automatic detrending algorithm.” Bioinformatics. doi: 10.1093/bioinformatics/btx434.

Corresponding BibTeX entry:

  @Article{,
    title = {{nandb}--—number and brightness in R with a novel
      automatic detrending algorithm},
    author = {Rory Nolan and Luis Alvarez and Jonathan Elegheert and
      Maro Iliopoulou and G. Maria Jakobsdottir and Marina
      Rodriguez-Munoz and A. Radu Aricescu and Sergi Padilla-Parra},
    journal = {Bioinformatics},
    year = {2017},
    doi = {10.1093/bioinformatics/btx434},
  }