Mercurial > repos > yufei-luo > s_mart
annotate SMART/DiffExpAnal/DESeqTools/removeNul.R @ 18:94ab73e8a190
Uploaded
author | m-zytnicki |
---|---|
date | Mon, 29 Apr 2013 03:20:15 -0400 |
parents | |
children |
rev | line source |
---|---|
18 | 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 } |