dominant.freqs | R Documentation |
dominant.freqs
returns the m dominant frequencies (highest peaks)
in each of the periodogram computed for the individual time series.
dominant.freqs(x, m=1, ...)
x |
multivariate (genetic) time series (each column of this matrix corresponds to a separate variable/time series), or a vector with a single time series |
m |
number of dominant frequences |
... |
arguments passed to |
A matrix (or vector, if only 1 time series is considered) with the dominant frequencies. In a matrix, each column corresponds to one time series.
Konstantinos Fokianos and Korbinian Strimmer (https://strimmerlab.github.io/).
periodogram
, spectrum
.
# load GeneCycle library
library("GeneCycle")
# load data set
data(caulobacter)
# how many samples and how many genes?
dim(caulobacter)
# first three dominant frequencies for each gene
dominant.freqs(caulobacter, 3)
# first four dominant frequencies for gene no. 1000
dominant.freqs(caulobacter[,1000], 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.