Code covered by the BSD License  

Highlights from
QT Clustering using Euclidean Distance

2.0

2.0 | 1 rating Rate this file 8 Downloads (last 30 days) File Size: 2.02 KB File ID: #26431

QT Clustering using Euclidean Distance

by Misha Koshelev

 

20 Jan 2010

Implement QT Clustering using Euclidean Distance

| Watch this File

File Information
Description

QT clustering algorithm as described in:

Heyer, L. J., Kruglyak, S., Yooseph, S. (1999). Exploring expression data: Identification and analysis of coexpressed genes. Genome Research 9, 1106–1115.

http://genome.cshlp.org/content/9/11/1106.full
http://genome.cshlp.org/content/9/11/1106/F5.large.jpg

if two sets A{i} have same cardinality, we pick first one
our distance measure is Euclidean distance

input:
G-nxp data to cluster
d-diameter threshold
D-Euclidean distance for all 0<i<j<=n

output:
idx-nx1 vector containing cluster indices

Misha Koshelev
January 20th, 2009
Montague Laboratory
    
Advantage: always returns same result.

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
23 Apr 2010 Aadarsh

No matter what I put as D, I keep getting the following error message:
??? Attempted to access D(2,1); index out of bounds because numel(D)=1.

Error in ==> qtclusteuclid at 51
                jdiam(pidx)=max(D(pts(pidx),A));

I am trying to use this function with the following call:
qtclusteuclid(new,5,4)

where new is a matrix of size 2x548.

It still gives the same error message if i flip the matrix, and also if i change the parameters for d and D.

Can you suggest how I can get it to work?

Thanks

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
clustering Misha Koshelev 21 Jan 2010 09:58:23
genetics Misha Koshelev 21 Jan 2010 09:58:23
medicine Misha Koshelev 21 Jan 2010 09:58:23

Contact us at files@mathworks.com