R/removeNul.R

Defines functions removeNul

Documented in removeNul

#' Remove features with null counts in all samples
#'
#' Remove features with null counts in all samples
#'
#' @param counts matrix of counts
#' @return The \code{matrix} of counts without null counts
#' @author Marie-Agnes Dillies and Hugo Varet

# created Feb 7th, 2012
# modified Oct 14th, 2013 (on ne supprime pas les rRNA de info)

removeNul <- function(counts){
  return(counts[rowSums(counts) > 0,])
}
biomics-pasteur-fr/RNADiff documentation built on Aug. 27, 2020, 12:44 a.m.