Hello,

I have an array of count (quantification results with DESeq of RNA seq data). This table contains 40 columns (samples) and 33000 rows (a mixture between mRNAs and lncRNAs) I want to calculate the correlation between all lncRNAs and mRNAs, but I have no idea to start. If anyone can help me how to write the script I will be very grateful.

thank you for answer

yes I am working on R but with the function

`corr`

it calculate correlation between the columns (sample1, sample 2, ......, smples 40) and not rows.when I separated the tables (one for mRNAs and lncRNAs in another) I used the horn function gives an error message (the two tables must contain the same size)

Try transposing the matrix to get correlations between rows.