Error in SAMseq analysis with R
0
1
Entering edit mode
7.7 years ago
namilio06 ▴ 10

I am trying to use the function SAMseq from samr package to analyse the gene expression of my matrix but I get this error message.

> sam_test = SAMseq(RNA_seq_DNAm, vector_DNAm, resp.type = "Quantitative",
genenames = names)

Estimating sequencing depths...
Resampling to get new data matrices...
Error in rankcol(t(xresamp[, , k])) : 
  NA/NaN/Inf in foreign function call (arg 1)
In addition: There were 20 warnings (use warnings() to see them)
Error during wrapup: cannot open the connection

Can someone help me understand what it means? This is a school project I am working on.

Thanks in advance!

r RNA-Seq • 2.6k views
ADD COMMENT
0
Entering edit mode

Since the error appears to result from some non-numeric or non-finite values, first thing you might want to try is to check for those in your input counts, e.g.: sapply(RNA_seq_DNAm, function(x) { sumis.na(x)) }) for NAs. You can modify this to check for NaN's (is.nan) or Infs (abs(x) == Inf).

ADD REPLY
0
Entering edit mode

I am experiencing the same problem. Any resolution for that?

ADD REPLY

Login before adding your answer.

Traffic: 2398 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6