spectr
provides a consistent interface to use various methods to calculate the periodogram of a time-course. The methods include Lomb-Scargle, fast Fourier transform, and three versions of the chi-square periodogram. To see how we've used spectr
, check out the paper.
install.packages('spectr')
Install BiocManager
.
r
if (!requireNamespace('BiocManager', quietly = TRUE))
install.packages('BiocManager')
If you use RStudio, go to Tools → Global Options... → Packages → Add... (under Secondary repositories), then enter:
You only have to do this once. Then you can install or update the package by entering:
r
BiocManager::install('spectr')
Alternatively, you can install or update the package by entering:
r
BiocManager::install('spectr', site_repository = 'https://hugheylab.github.io/drat/')
See the examples and detailed guidance in the reference documentation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.