Skip to content
Snippets Groups Projects
cummerutils.R 274 B
Newer Older

require.auto(cummeRbund)


getExpressedGenes <- function(cuff, minFPKM=1, logMode=F){
Holger Brandl's avatar
Holger Brandl committed
    fpkmMat<-repFpkmMatrix(genes(cuff))

    if(logMode) fpkmMat<-log10(fpkmMat+1) ## add a pseudocount

    geneMax <- apply(fpkmMat, 1, max)

Holger Brandl's avatar
Holger Brandl committed
    rownames(fpkmMat[geneMax>minFPKM,])