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