-
-
Save brigand/451921a2bdc47a51b3e6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// TODO: Sort by order, using a collectionjs | |
var failedExons = geneExons | |
.filter(function(geneExon){ | |
return geneExon.bins[0].pct > 0 || geneExon.bins[1].pct > 0; | |
}) | |
.map(function(geneExon){ | |
return { | |
exon: geneExon, | |
pct: geneExon.bins[0].pct + geneExon.bins[1].pct | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment