powered by
colSum
rowSum
filterZeroCols(object, verbose = TRUE) filterZeroRows(object, verbose = TRUE)
MSnSet
library("pRolocdata") data(andy2011goCC) any(colSums(exprs(andy2011goCC)) == 0) exprs(andy2011goCC)[, 1:5] <- 0 ncol(andy2011goCC) ncol(filterZeroCols(andy2011goCC))
Run the code above in your browser using DataLab