Hi Vallejo,
I'm pretty busy currently, and feel your question has much more
to do with how to use R more generally than with using the
functions from the cluster package.
So you may get help from other R-help readers,
but maybe only after you have followed the posting-guide
and give a reproducible example as you're asked there.
Regards,
Martin Maechler
>>>>> "VallejoR" == Vallejo, Roger <Roger.Vallejo at
ARS.USDA.GOV>
>>>>> on Mon, 12 Mar 2007 10:28:01 -0400 writes:
VallejoR> Hi Martin,
VallejoR> In using the Cluster Package, I have results for PAM and DIANA
VallejoR> clustering algorithms (below "part" and
"hier" objects):
VallejoR> part <- pam(trout, bestk)
VallejoR> # PAM results
VallejoR> hier <- diana(trout)
VallejoR> # DIANA results
VallejoR> GeneNames <- show(RG$genes)
VallejoR> # Gene Names are in this object
VallejoR> But I would like also to know what genes (NAMES) are included
in each
VallejoR> cluster. I tried unsuccessfully to send these results to output
files
VallejoR> (clusters with gene Names). This must be an easy task for a
good R
VallejoR> programmer. I will appreciate very much directions or R code on
how to
VallejoR> send the PAM and DIANA results to output files including
information on
VallejoR> genes (Names) per each cluster.
VallejoR> Thank you very much.
VallejoR> Roger
VallejoR> Roger L. Vallejo, Ph.D.
VallejoR> Computational Biologist & Geneticist
VallejoR> U.S. Department of Agriculture, ARS
VallejoR> National Center for Cool & Cold Water Aquaculture
VallejoR> 11861 Leetown Road
VallejoR> Kearneysville, WV 25430
VallejoR> Voice: (304) 724-8340 Ext. 2141
VallejoR> Email: roger.vallejo at ars.usda.gov <mailto:roger.vallejo
at ars.usda.gov>
VallejoR> [[alternative HTML version deleted]]