pearson correlation.
3
0
Entering edit mode
Dixon, Dr R. ▴ 20
@dixon-dr-r-866
Last seen 10.3 years ago
Hi Bioconductor, i am new to the Bioconductor world and have a question i hope you can help me with. I wish to compute the pearson correlation of the expression values between a gene of interest and a number of other genes in a number of experiments. Can someone direct me to the relevant Bioconductor package ? Thankyou Rick ____________________________________ Dr. Richard Dixon Dept. of Cardiovascular Sciences, University of Leicester, Clinical Sciences Wing, Glenfield Hospital, Leicester, LE3 9QP UK Tel: (0116) 250 2541 Fax: (0116) 287 5792 e-mail: rd67@le.ac.uk
• 1.2k views
ADD COMMENT
0
Entering edit mode
@steffen-durinck-519
Last seen 10.3 years ago
Hi Rick, You could use the function cor to compute these correlations. Check out: ?cor Cheers, Steffen Dixon, Dr R. wrote: >Hi Bioconductor, > >i am new to the Bioconductor world and have a question i hope you can help me with. >I wish to compute the pearson correlation of the expression values between a gene of interest and a number of other genes in a number of experiments. > >Can someone direct me to the relevant Bioconductor package ? > >Thankyou >Rick >____________________________________ > >Dr. Richard Dixon > >Dept. of Cardiovascular Sciences, >University of Leicester, >Clinical Sciences Wing, >Glenfield Hospital, >Leicester, LE3 9QP >UK > >Tel: (0116) 250 2541 >Fax: (0116) 287 5792 >e-mail: rd67@le.ac.uk > >_______________________________________________ >Bioconductor mailing list >Bioconductor@stat.math.ethz.ch >https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor > > >
ADD COMMENT
0
Entering edit mode
Heidi Dvinge ▴ 30
@heidi-dvinge-717
Last seen 10.3 years ago
Hi Rick Have you tried looking at cor() with method="pearson"? I guess that should do the trick. Just type ? cor for more info. It's from the basic 'stats' package. If you don't have too many genes, you can also plot the correlations using for example plot.cor() from the 'sma' package. HTH \Heidi On Mon, 26 Jul 2004, Dixon, Dr R. wrote: > Hi Bioconductor, > > i am new to the Bioconductor world and have a question i hope you can help me with. > I wish to compute the pearson correlation of the expression values between a gene of interest and a number of other genes in a number of experiments. > > Can someone direct me to the relevant Bioconductor package ? > > Thankyou > Rick > ____________________________________ > > Dr. Richard Dixon > > Dept. of Cardiovascular Sciences, > University of Leicester, > Clinical Sciences Wing, > Glenfield Hospital, > Leicester, LE3 9QP > UK > > Tel: (0116) 250 2541 > Fax: (0116) 287 5792 > e-mail: rd67@le.ac.uk > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor >
ADD COMMENT
0
Entering edit mode
@lgautieralternorg-747
Last seen 10.3 years ago
Dixon, Dr R. wrote: > Hi Bioconductor, > > i am new to the Bioconductor world and have a question i hope you can help me with. > I wish to compute the pearson correlation of the expression values between a gene of interest and a number of other genes in a number of experiments. > > Can someone direct me to the relevant Bioconductor package ? R base is enough to do so, however the data structures in Biobase are convenient to handle your data: library(Biobase) data(eset) got <- "AFFX-MurIL2_at" # Gene Of inTerest mycor <- apply(exprs(eset), 1, cor, y=exprs(eset)[got, ]) L. > Thankyou > Rick > ____________________________________ > > Dr. Richard Dixon > > Dept. of Cardiovascular Sciences, > University of Leicester, > Clinical Sciences Wing, > Glenfield Hospital, > Leicester, LE3 9QP > UK > > Tel: (0116) 250 2541 > Fax: (0116) 287 5792 > e-mail: rd67@le.ac.uk > > _______________________________________________ > Bioconductor mailing list > Bioconductor@stat.math.ethz.ch > https://www.stat.math.ethz.ch/mailman/listinfo/bioconductor >
ADD COMMENT

Login before adding your answer.

Traffic: 667 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6