Description Usage Arguments Details Value Author(s) Examples
Function calculates a modified F-statistic for a set of cluster assignments.
1 | calcModfstat(exprs.dat, cl, class.vector)
|
exprs.dat |
a |
cl |
a |
class.vector |
a |
This function is called internally by findSynexprs
.
a modified F-statistic (average MSS/average RSS) value for a set of cluster assignments.
Jessica Mar
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
library(cluster)
data(subset.loring.eset)
clustObj <- agnes(as.dist(1-t(cor(exprs(subset.loring.eset)))))
cfmod.vals <- NULL
for( i in 1:10 ){
cfmod.vals <- c(cfmod.vals, calcModfstat(exprs(subset.loring.eset), cutree(clustObj,i), pData(subset.loring.eset)$celltype))
}
k <- (1:10)[cfmod.vals==max(cfmod.vals)]
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.