Description Usage Arguments Value See Also Examples
View source: R/kmeansNormalize.R
This function performs normalization on the anscombe transformed data by clustering them using k-means algorithmn and utilizing the information from clusters. It returns an DataFrame object normalized counts, cluster information and the variance of that cluster for that sample.
1 | kmeansNormalize(ansDataVec, numClusters = 4)
|
ansDataVec |
Anscombe transformed count data for a sample. |
numClusters |
A number indicating the number of clusters to use for k-means clustering. (default: 4) |
DataFrame containing the normalized counts, cluster information and the variance of the cluster in the sample.
normalizeData
which iterates over this function.
1 2 3 | exCount <- c(1,2,3,4,5,6,7,8,9,10)
kmeansEx <- kmeansNormalize(exCount,numClusters=2)
kmeansEx
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.