Mercurial > repos > yufei-luo > differential_expression_analysis_pipeline_for_rnaseq_data
annotate DiffExpAnal/DESeqTools/removeNul.R @ 6:59cc55f611f6 draft
Uploaded
author | yufei-luo |
---|---|
date | Tue, 22 Jan 2013 10:46:42 -0500 |
parents | 63799b789162 |
children |
rev | line source |
---|---|
0 | 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 } |