pearson correlation between lncRNA and mRNA

pearson correlation between lncRNA and mRNA

1

Hi, I have 2 different normalised DEGs data set and I am trying to determine pearson correlation between these lncRNA and mRNA data sets. I tried cor.test function in R but it reads gene list at first column and I am taking “x value should be numeric ” error.

I read files as following:

mRNA <- read.delim("mRNA.txt", header=TRUE, sep="", row.names=1)
lncRNA <- read.delim("lncRNA.txt", header=TRUE, sep="", row.names=1)

When I checked data first column are not included:

cor.test(mRNA,lncRNA, method = c("pearson"))

Please help me its urgent issue and I lost between all post.

             A           B
gene1        5.7         8
gene2        2           4 


pearson


correlation


R


cor.test

• 637 views

updated 2 hours ago by

0

written 5 months ago by

&utrif;

20

Read more here: Source link