cydno.rsem[rowSums(cydno.rsem != 0) == 0, 1:10]
Am I correct in that by “pull out”, you mean remove all the rows of males that are all zeros? I think this will not quite do this, because if you have non-zero females in the same row, that row will be left in. Rather, I think you want
cyndo.rsem[rowSums(cydno.resm[1:10, ]) == 0, 1:10)
--
Check out our R resources at http://www.noamross.net/davis-r-users-group.html
---
You received this message because you are subscribed to the Google Groups "Davis R Users' Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to davis-rug+...@googlegroups.com.
Visit this group at http://groups.google.com/group/davis-rug.
For more options, visit https://groups.google.com/d/optout.
cydno.rsem[rowSums(cydno.rsem[, 1:10]) == 0 & rowSums(cydno.rsem[, 11:20]) !=0, ]