Skip to content
Snippets Groups Projects
Commit 4aadc438 authored by Holger Brandl's avatar Holger Brandl
Browse files

fixed expression filter

parent 93eff3c1
No related branches found
No related tags found
No related merge requests found
require.auto(cummeRbund)
getExpressedGenes <- function(cuff, minFPKM=1, logMode=F){
fpkmMat<-repFpkmMatrix(genes(cuff))
fpkmMat<-repFpkmMatrix(genes(mmusCuff))
if(logMode) fpkmMat<-log10(fpkmMat+1) ## add a pseudocount
geneMax <- apply(fpkmMat, 1, max)
fpkmMat[geneMax>minFPKM,]$gene_id
rownames(fpkmMat[geneMax>minFPKM,])
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment