Description Usage Arguments Details Value Author(s) References
View source: R/jackstraw_kmeans.R
Test the cluster membership for Kmeans clustering
1 2  jackstraw_kmeans(dat, kmeans.dat, s = 1, B = 1000, covariate = NULL,
verbose = FALSE, seed = NULL, ...)

dat 
a data matrix with 
kmeans.dat 
an output from applying 
s 
a number of “synthetic” null variables. Out of 
B 
a number of resampling iterations. 
covariate 
a model matrix of covariates with 
verbose 
a logical specifying to print the computational progress. By default, 
seed 
a seed for the random number generator. 
... 
optional arguments to control the kmeans clustering algorithm (refers to 
Kmeans clustering assign m
rows into K
clusters. This function enable statistical
evaluation if the cluster membership is correctly assigned. Each of m
pvalues refers to
the statistical test of that row with regard to its assigned cluster.
Its resampling strategy accounts for the overfitting characteristics due to direct computation of clusters from the observed data
and protects against an anticonservative bias.
jackstraw_kmeans
returns a list consisting of
F.obs 

F.null 
F null statistics between null variables and cluster centers, from the jackstraw method. 
p.F 

Neo Christopher Chung [email protected]
Chung (2018) Statistical significance for cluster membership. biorxiv, doi:10.1101/248633 https://www.biorxiv.org/content/early/2018/01/16/248633
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.