Description Usage Arguments Details Value Author(s) Examples
View source: R/result.as.dataframe.R
Converts the result list derived by MoPS function fit.periodic() to a data.frame.
1 | result.as.dataframe(result.list)
|
result.list |
List of best fitting parameters returned by fit.periodic(). |
This function takes as input the result list from MoPS function fit.periodic() and extracts the time course specific optimal parameters.
data.frame containing the best fitting periodic parameters for each time series (rows):
columns: ID : unique identifier score : log-likelihood for periodic behaviour phi : phase lambda : period length sigma : attenuation of the signal along the complete time series mean : mean amplitude : amplitude
Philipp Eser, Achim Tresch
1 2 3 | y = 2*sin(seq(0,6*pi,length.out=50)+rnorm(50))
res = fit.periodic(y)
result.as.dataframe(res)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.