Dear Sir/ Madam, I am getting the following error:
geneExp <- read.table("DV_control_FPKM.txt",header=T, sep="\t",row.names=1) geneExp=as.matrix(as.data.frame(geneExp)) head(geneExp) geneExp2 <- read.table("DV_introgressed_line_FPKM.txt",header=T, sep="\t",row.names=1) geneExp2=as.matrix(as.data.frame(geneExp)) head(geneExp2) library(diffcoexp) allowWGCNAThreads() res=diffcoexp(exprs.1 = geneExp, exprs.2 = geneExp2, r.method = "spearman" ) Error in exprs.1[rownames(exprs.1) != "", ] : incorrect number of dimensions I have attached my input file along with mail -- With Regards, *Dr Priyanka Jain (PhD)*, Mobile : 9718854136 -- With Regards, *Dr Priyanka Jain (PhD)*, Mobile : 9718854136 ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.