Description Usage Arguments Value Examples
This analysis measures the similarity of exact connections for each pair of NTUs. The similarities are not weighted by phylogenetic distance. There are several options for spectral clustering kernels ( vanilladot (linear), polydot (polynomial), rbfdot (Gaussian), and others. The numbers of centers should be determined using other methods, such as the pamk function in the fpc package. This script takes a long time to run and could be improved by splitting tasks to separate processors.
1 |
inputParameter1 |
matrix is the matrix of connections after the diagnostic scripts
are run |
inputParameter2 |
iteration is the number of bootstrap
replicates to run |
inputParameter3 |
fn1 is a file name for the matrix of clustering results
|
inputParameter4 |
namesvec is a vector of names for the NTUs |
inputParameter5 |
centersnum is the number of clusters expected |
inputParameter6 |
kerneltype is the kernel used for spectral clustering
|
inputParameter7 |
matrix2 is the result from the bootstrapping function
|
inputParameter8 |
fn2 is the file name for the similarity matrix for the clustering results
|
output 2 matrices, first the clustering results for each NTU and each iteration, and second, a #' similarity matrix based on the clustering assignments from the first part of the function
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.