view SMART/DiffExpAnal/DESeqTools/removeNul.R @ 34:529e3e6a0954

Deleted selected files
author m-zytnicki
date Tue, 30 Apr 2013 14:35:27 -0400
parents 94ab73e8a190
children
line wrap: on
line source

# removeNul
# remove genes with null counts in all samples

# input : counts
# output : counts

# created Feb 7th, 2012
# Marie-Agnes Dillies


removeNul <- function( counts, info = NULL ){

  return( list(counts[rowSums(counts) > 0,], info[rowSums(counts) > 0,]) )
}