estepi / ASpli

Analysis of alternative splicing using RNAseq
7 stars 1 forks source link

jCounts function NA error #26

Open rfarouni opened 1 year ago

rfarouni commented 1 year ago

Hi,

The jCounts function scrambles the order of the three columns once it encounters a rowname with NA in it. This happens during unlisting. I was able to solve the problem by filtering out those rows from the junction.counts object.

gb_counts@junction.counts[-which(rownames(gb_counts@junction.counts)=="NA"),]

I am not sure why I had an NA row in the first place.

Best, Rick

lybCNU commented 1 year ago

I got this NA error too. Your command saved me.