Description Usage Arguments Value Author(s) See Also Examples
This is an internal function to be called by tanova
to generate design matrix. Users should call tanova
whenever is possible.
1 2 3 |
data |
a data matrix containing expression values. Row and column represent gene (probe set) and array respectively |
f1 |
a vector containing the levels of a factor in each array |
f2 |
a vector containing the levels of a factor in each array |
tp |
a vector with length equal to the number of arrays. Each entry indicates the time point for the corresponding array. tp takes values 1,2,3 .... For non-time course data, let tp=0. |
type |
type of test the null F-statistics is for, 1 for, 2 for, 3 for, 4 for |
trim |
the fraction (0 to 0.5) of observations to be trimmed from each end of x before the mean is computed. Values of trim outside that range are taken as the nearest endpoint. |
equal.size |
a logical indicator of whether the number of replicates under each biological condition is equal. Default is FALSE. |
eb |
whether to use Bayesian prior |
F |
observed F-statistics |
Baiyu Zhou zhouby98@stanford.edu & Weihong xu weihongx@stanford.edu
1 2 3 4 | ##data=matrix(rnorm(10000,mean=6, sd=1),nrow=500, ncol=20)
##f1=rep(c(1,2), each=10)
##f2=rep(c(1,2), 10)
##F.stat.null(data,f1,f2,type=1,trim=0,equal.size=FALSE,eb=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.