Removes all assay data columns/rows that are composed of only 0,
i.e. have a colSum/rowSum of 0.
     
    
    Usage
    filterZeroCols(object, verbose = TRUE)
filterZeroRows(object, verbose = TRUE)
 
     
    
    Arguments
- object
 
A MSnSet object.
 
- verbose
 
Print a message with the number of filtered out
columns/row (if any).
 
 
    
    
    
    Examples
    library("pRolocdata")
data(andy2011goCC)
any(colSums(exprs(andy2011goCC)) == 0)
#> [1] FALSE
exprs(andy2011goCC)[, 1:5] <- 0
ncol(andy2011goCC)
#> [1] 569
ncol(filterZeroCols(andy2011goCC))
#> Removing 5 columns with only 0s.
#> [1] 564