Skip to content
Prev 366882 / 398502 Next

caculate correlation

Hi Dear Jim,

I did it, both return a vector of name of the genes with different?length,as I said before I have list of coding and noncoding so the length are not same.
where is number?!

and at the end of print there is this error :

<0 rows> (or 0-length row.names)
On Tuesday, January 31, 2017 3:07 AM, Jim Lemon <drjimlemon at gmail.com> wrote:
Hi Elham,
What I meant is to simply copy these two expressions into the R command line:

coding.rpkm[grep("23.C",coding.rpkm$name),-1]

ncoding.rpkm[grep("23.C",ncoding.rpkm$name),-1]

and see what comes out. If both return a vector of numbers of the same
length with no NA values, my guess was wrong. If there are NA values,
try adding the argument use=pairwise.complete.obs to the "cor"
statement.

Jim
On Tue, Jan 31, 2017 at 9:17 AM, Elham - <ed_isfahani at yahoo.com> wrote: