[BioC] How to correlate a vector with matrix, then output average cor and its SD

Dan Tenenbaum dtenenba at fhcrc.org
Wed Dec 26 08:05:13 CET 2012


Hi,

On Tue, Dec 25, 2012 at 4:01 AM, 刘伟 <antibodyliu at gmail.com> wrote:
> Dear Buddy,
>
>   Happy Christmas.
>  I am a user of  R. When I attempt to correlate a vector x with a
> matrix y, R warn me of incompatible dimensions (unequal numbers of
> rows) . Should I use lapply? I need the average and standard deviation
> of the correlation. Any suggestion is appreciated. Thanks.

I'm not sure this is a Bioconductor question. You might want to ask on
R-help:

http://stat.ethz.ch/mailman/listinfo/r-help

Dan


>
>  Sincerely,
>  Wei Liu
>
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor



More information about the Bioconductor mailing list