Thread: DESeq2 Error
View Single Post
Old 02-13-2015, 11:11 AM   #8
Michael Love
Senior Member
 
Location: Boston

Join Date: Jul 2013
Posts: 333
Default

That means that you have some NA's in the matrix, which should only have non-negative integers.

You can try to find them with:

Code:
narows <- apply(countData, 1, function(x) any(is.na(x)))

table(narows)
You need to remove these rows from the countData first:

Code:
countDataClean <- countData[ !narows, ]
Michael Love is offline   Reply With Quote