Re: [R] Export the result k-means cluster to CSV file

2016-03-29 Thread S Ellison
> i am confusing about your code , i can not get the the desired result . can > you > more clear for the code? The code I suggested just provided a structured text output of the kmeans object. If you want a cluster-by-cluster output of the original data, you will need to write a function that

Re: [R] Export the result k-means cluster to CSV file

2016-03-24 Thread S Ellison
> Hello Everyone : i have  done the clustering  process by k-means cluster, > then i > try to save[Export ] the groups of clustering, to txt, or CSV files , how i > can do > that Depends what you want. You can save the whole object for reloading using save() The cluster members can be written

[R] Export the result k-means cluster to CSV file

2016-03-24 Thread hehsham alpukhity via R-help
Hello Everyone : i have  done the clustering  process by k-means cluster, then i try to save[Export ] the groups of clustering, to txt, or CSV files , how i can do that #clusrer.data <- function(data,n) { miRNA.exp.cluster <- scale(t(miRNA.exp)) k.means.fi