Mercurial > repos > yufei-luo > s_mart
annotate SMART/DiffExpAnal/DESeqTools/removeNul.R @ 33:aa0420172fc6
Deleted selected files
| author | m-zytnicki |
|---|---|
| date | Tue, 30 Apr 2013 14:34:53 -0400 |
| parents | 94ab73e8a190 |
| 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 } |
