Returns the log-maximum likelihood and the estimator of the mean under cyclical profile with maximum at `max1`

and minimum at `min1`

(`max1`

< `min1`

).

1 | ```
cyclical.max.min(data,x,n.rep,max1,min1)
``` |

`data` |
A vector containing the expressions of one gene. |

`x` |
A vector consisting of the average expression at time points (1, 2,... ,T), where T is the total number of time points. |

`n.rep` |
A vector consisting of the number of replicate arrays at time points (1, 2,... ,T), where T is the total number of time points. |

`max1` |
Cyclical profile with maximum at |

`min1` |
Cyclical profile with minimum at |

`logelr` |
Log-maximum likelihood |

`mu` |
A vector containing the estimator of the mean |

Tianqing Liu, Nan Lin, Ningzhong Shi and Baoxue Zhang

Maintainer: Tianqing Liu <tianqingliu@gmail.com>

Liu, T., Lin, N., Shi, N. and Zhang, B. (2009), *Information criterion-based clustering with order-restricted candidate profiles in short time-course microarray experiments.* BMC Bioinformatics, **10**: 146.

Robertson, T., Wright, F. T. and Dykstra, R. L. (1988). *Order restricted statistical inference.* New York: Wiley.

Shi, N., Gao, W. and Zhang, B. (2001). *One sided estimation and testing
problems for location models from grouped samples.*
Commun Statist-Simula, **30**: 885-898.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.