Question: how to perform pairwise correlation coefficent in r program for gene expression matrix
0
gravatar for rajasekargutha
2.4 years ago by
India
rajasekargutha20 wrote:

this is my data structure , columns are samples and rows are genes, i want to perform pearson correlation coeffienct b/w gene1&2, gene2&3,gene 3&4. i have total 108 genes from 57 samples

gene1   6.121202675 6.209983663 6.376870346 6.276983925
gene2   8.745523095 8.35388773  8.673598036 9.008937525
gene3   6.613542441 6.275194829 6.884437022 6.672146012
gene4   9.632601412 10.02780565 9.555238552 8.222576388
rna-seq chip-seq next-gen R genome • 1.3k views
ADD COMMENTlink modified 2.4 years ago by Chirag Parsania1.4k • written 2.4 years ago by rajasekargutha20
2
gravatar for Devon Ryan
2.4 years ago by
Devon Ryan89k
Freiburg, Germany
Devon Ryan89k wrote:

help(cor), note that you'll need to transpose the matrix, since it compares columns.

ADD COMMENTlink modified 2.4 years ago • written 2.4 years ago by Devon Ryan89k
2
gravatar for Chirag Parsania
2.4 years ago by
Chirag Parsania1.4k
University of Macau
Chirag Parsania1.4k wrote:

ggpairs(log2(data+0.01)) can give you nice representation of your data as well.

~Chirag.

ADD COMMENTlink written 2.4 years ago by Chirag Parsania1.4k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 917 users visited in the last hour