pearson correlation between lncRNA and mRNA
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
• 637 views
Read more here: Source link