comparison SMART/DiffExpAnal/DESeqTools/removeNul.R @ 31:0ab839023fe4

Uploaded
author m-zytnicki
date Tue, 30 Apr 2013 14:33:21 -0400
parents 94ab73e8a190
children
comparison
equal deleted inserted replaced
30:5677346472b5 31:0ab839023fe4
1 # removeNul
2 # remove genes with null counts in all samples
3
4 # input : counts
5 # output : counts
6
7 # created Feb 7th, 2012
8 # Marie-Agnes Dillies
9
10
11 removeNul <- function( counts, info = NULL ){
12
13 return( list(counts[rowSums(counts) > 0,], info[rowSums(counts) > 0,]) )
14 }