AM University
College Station, TX 77840-4352
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Ding, Yuan Chun
Sent: Thursday, September 4, 2014 3:11 PM
To: r-help@R-project.org
Subject: [R] calculate Euclidean distances between
I want to calculate Euclidean distance between 12 populations, in each
population there are 20 samples and each sample is measured for 100 genes
(these are microarray data; the numbers here are just examples).
The equation I found is:
distance = sqrt{[sum(Average of xi -average of yi)^2] /n
I'd probably start with ?dist
Sarah
On Thu, Sep 4, 2014 at 4:10 PM, Ding, Yuan Chun ycd...@coh.org wrote:
I want to calculate Euclidean distance between 12 populations, in each
population there are 20 samples and each sample is measured for 100 genes
(these are microarray data; the
[mailto:sarah.gos...@gmail.com]
Sent: Thursday, September 04, 2014 4:49 PM
To: Ding, Yuan Chun
Cc: r-help@R-project.org
Subject: Re: [R] calculate Euclidean distances between populations in R with
this data structure
I'd probably start with ?dist
Sarah
On Thu, Sep 4, 2014 at 4:10 PM, Ding, Yuan
a R package to do it.
Thanks,
Ding
-Original Message-
From: Sarah Goslee [mailto:sarah.gos...@gmail.com]
Sent: Thursday, September 04, 2014 4:49 PM
To: Ding, Yuan Chun
Cc: r-help@R-project.org
Subject: Re: [R] calculate Euclidean distances between populations in R with
this data structure
5 matches
Mail list logo