RT Ye
2009-Sep-30 01:22 UTC
[R] Is there a R function that can do similar things like 'pdist' in Matlab?
Hi, I want to compute the pairwise correlation for about 10,000 genes. In Matlab there is a function called 'pdsit' that can do this very efficiently. I am wondering is there a similar function in R? Thanks, RT Ye.
Yihui Xie
2009-Sep-30 07:55 UTC
[R] Is there a R function that can do similar things like 'pdist' in Matlab?
That's not correlation. It's distance instead. See ?dist Regards, Yihui -- Yihui Xie <xieyihui at gmail.com> Phone: 515-294-6609 Web: http://yihui.name Department of Statistics, Iowa State University 3211 Snedecor Hall, Ames, IA On Tue, Sep 29, 2009 at 8:22 PM, RT Ye <rtyedm at gmail.com> wrote:> Hi, > > I want to compute the pairwise correlation for about 10,000 genes. In > Matlab there is a function called 'pdsit' that can do this very > efficiently. I am wondering is there a similar function in R? > > Thanks, > > RT Ye. > > ______________________________________________ > R-help at r-project.org 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. >