[BioC] problem with cuttree

shannon shannon at ilya.wustl.edu
Wed Nov 9 13:35:19 CET 2005


Hi Mahurim

I am apparently not able to submit to bioconductor (I thought I was
registered but my email yesterday about cutree was not posted and I
haven't had time to straighten it out).

Why do you need to display the tree?

Often the tree is used to identify clusters and the internal
hierarchial relationships are not that important. However if you do need
to view the substructure then thhe option of the external program sounds
like it might serve your needs.

If you need to keep it in R then the following algorithm would work:

1. Use cutree to identify the genes in the subtree you want to examne

2. Select the pairwise distances from the distance matrix used to fit the
full tree for these gene pairs and generate a dist object -- basically
turn the dist object for all the genes into a full matrix (there is a
dist2full function available for that), select the rows/columns for the
genes of interest, convert this submatrix back to a dist object, and
plclust that dist object.


But let me know why you need to do this and perhaps we can come up with a
alternaative to viwing the large tree.

Bill
---

		        Biostatistics Consulting Center
		http://ilya.wustl.edu/~shannon/bcc_announcement.pdf

"Statistics is not a discipline like physics, chemistry or biology
where we study a subject to solve problems in the same subject. We
study statistics with the main aim of solving problems in other
disciplines."   CR Rao


William D. Shannon, Ph.D.

Associate Professor of Biostatistics in Medicine
Division of General Medical Sciences and Biostatistics

Washington University School of Medicine
Campus Box 8005, 660 S. Euclid
St. Louis, MO   63110

Phone: 314-454-8356
Fax: 314-454-5113
e-mail: wshannon at wustl.edu
web page: http://ilya.wustl.edu/~shannon



More information about the Bioconductor mailing list