Commit 06ff2398 authored by Holger Brandl's avatar Holger Brandl
Browse files

started new utils package on github

parents
require.auto(cummeRbund)
getExpressedGenes <- function(cuff, minFPKM=1, logMode=F){
fpkmMat<-repFpkmMatrix(genes(cuff))
if(logMode) fpkmMat<-log10(fpkmMat+1) ## add a pseudocount
geneMax <- apply(fpkmMat, 1, max)
fpkmMat[geneMax>minFPKM,]$gene_id
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment