Hi Martin,

 

In using the Cluster Package, I have results for PAM and DIANA
clustering algorithms (below "part" and "hier" objects):

                                                                        

part <- pam(trout, bestk)
# PAM results


hier <- diana(trout)
# DIANA results

GeneNames <- show(RG$genes)
# Gene Names are in this object             

 

But I would like also to know what genes (NAMES) are included in each
cluster. I tried unsuccessfully to send these results to output files
(clusters with gene Names). This must be an easy task for a good R
programmer. I will appreciate very much directions or R code on how to
send the PAM and DIANA results to output files including information on
genes (Names) per each cluster.

 

Thank you very much.

Roger

 

 

Roger L. Vallejo, Ph.D.

Computational Biologist & Geneticist

U.S. Department of Agriculture, ARS          

National Center for Cool & Cold Water Aquaculture

11861 Leetown Road

Kearneysville, WV 25430

Voice:    (304) 724-8340 Ext. 2141

Email:   [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

 


        [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to