Displaying 1 result from an estimated 1 matches for "kmr10".
Did you mean:
cmr10
2008 Mar 18
3
Partition data into clusters
...ata into clusters. What I am
doing is as follows.
# Use csv file as input
#####################
wholeset = read.csv("Spellman800genesImputed.csv")
# exclude first col (gene names)
##########################
wholeset2 = wholeset[,-1]
#Use fpc
###########################
library(fpc)
cl.kmr10 <- kmeansruns(wholeset2,k=10,runs=10)
#append cluster label to original dataset
###################
cl2 <- data.frame(wholeset, cl.kmr10$cluster)
After this step, I write cl2 into a csv file and manually partition data
into its respective clusters using Excel.
Then I read the data from eac...