clusterBoot
will yield the same
clusters as the cluster
function (i.e. standard hierarchical
clustering) with additional p-values. Two kindes of p-values are reported:
bootstrap probabilities (BP) and approximately unbiased (AU) probabilities
(see Details section for more information).
clusterBoot(x, along = 1, align = TRUE, dmethod = "euclidean", cmethod = "ward", p = 2, nboot = 1000, r = seq(0.8, 1.4, by = 0.1), seed = NULL, ...)
grid object
TRUE
). If not, the grid matrix is clustered
as is. See Details section for more information.?dist
."ward"
,
"single"
, "complete"
, "average"
,
"mcquitty"
, "median"
or "centroid"
.1000
.set.seed
). Usually not needed.pvclust
.pvclust
clusterBoot
a method based on the
multiscale bootstrap is used to derive corrected (approximately
unbiased) p-values (Shimodaira, 2002, 2004). In conventional bootstrap
analysis the size of the bootstrap sample is identical to the orginal sample
size. Multiscale bootstrap varies the bootstrap sample size in order to infer
a correction formula for the biased p-value on the basis of the variation of
the results for the different sample sizes (Suzuki & Shimodaira, 2006).align: Aligning will reverse constructs if necessary to yield a maximal similarity between constructs. In a first step the constructs are clustered including both directions. In a second step the direction of a construct that yields smaller distances to the adjacent constructs is preserved and used for the final clustering. As a result, every construct is included once but with an orientation that guarantees optimal clustering. This approach is akin to the procedure used in FOCUS (Jankowicz & Thomas, 1982).
Hillis, D. M., & Bull, J. J. (1993). An Empirical Test of Bootstrapping as a Method for Assessing Confidence in Phylogenetic Analysis. Systematic Biology, 42(2), 182-192.
Jankowicz, D., & Thomas, L. (1982). An Algorithm for the Cluster Analysis of Repertory Grids in Human Resource Development. Personnel Review, 11(4), 15-22. doi:10.1108/eb055464.
Shimodaira, H. (2002) An approximately unbiased test of phylogenetic tree selection. Syst, Biol., 51, 492-508.
Shimodaira,H. (2004) Approximately unbiased tests of regions using multistep- multiscale bootstrap resampling. Ann. Stat., 32, 2616-2614.
Suzuki, R., & Shimodaira, H. (2006). Pvclust: an R package for assessing the uncertainty in hierarchical clustering. Bioinformatics, 22(12), 1540-1542. doi:10.1093/bioinformatics/btl117
Zharkikh, A., & Li, W.-H. (1995). Estimation of confidence in phylogeny: the complete-and-partial bootstrap technique. Molecular Phylogenetic Evolution, 4(1), 44-63.
## Not run:
#
# # p-values for construct dendrogram
# s <- clusterBoot(boeker)
# plot(s)
# pvrect(s, max.only=FALSE)
#
# # p-values for element dendrogram
# s <- clusterBoot(boeker, along=2)
# plot(s)
# pvrect(s, max.only=FALSE)
# ## End(Not run)
Run the code above in your browser using DataLab