public class FormulaWeightAnnotationCount extends Object implements AnnotationCountInterface
| Modifier and Type | Class and Description |
|---|---|
static class |
FormulaWeightAnnotationCount.FormulaChoice |
| Constructor and Description |
|---|
FormulaWeightAnnotationCount(WeightsInfo weights) |
| Modifier and Type | Method and Description |
|---|---|
void |
accumulate() |
float |
averageReadsPerPosition(int geneStart,
int geneEnd) |
void |
baseCount() |
double |
countReadsPartiallyOverlappingWithInterval(int geneStart,
int geneEnd) |
double |
countReadsStriclyWithinInterval(int geneStart,
int geneEnd) |
static double |
evaluateFormula(FormulaWeightAnnotationCount.FormulaChoice formulaChoice,
double sumGamma,
double rawCount) |
double |
geneExpressionCount(Annotation annot) |
ComputeCountInterface |
getBaseCounter() |
void |
populate(int startPosition,
int endPosition,
int queryIndex) |
void |
setFormulaChoice(FormulaWeightAnnotationCount.FormulaChoice formulaChoice) |
void |
sortReads() |
void |
startPopulating() |
public FormulaWeightAnnotationCount(WeightsInfo weights)
public ComputeCountInterface getBaseCounter()
public void startPopulating()
startPopulating in interface AnnotationCountInterfacepublic void populate(int startPosition,
int endPosition,
int queryIndex)
populate in interface AnnotationCountInterfacepublic void sortReads()
sortReads in interface AnnotationCountInterfacepublic float averageReadsPerPosition(int geneStart,
int geneEnd)
averageReadsPerPosition in interface AnnotationCountInterfacepublic double countReadsPartiallyOverlappingWithInterval(int geneStart,
int geneEnd)
countReadsPartiallyOverlappingWithInterval in interface AnnotationCountInterfacepublic double countReadsStriclyWithinInterval(int geneStart,
int geneEnd)
countReadsStriclyWithinInterval in interface AnnotationCountInterfacepublic void setFormulaChoice(FormulaWeightAnnotationCount.FormulaChoice formulaChoice)
public static double evaluateFormula(FormulaWeightAnnotationCount.FormulaChoice formulaChoice, double sumGamma, double rawCount)
public double geneExpressionCount(Annotation annot)
geneExpressionCount in interface AnnotationCountInterfacepublic void accumulate()
accumulate in interface AnnotationCountInterfacepublic void baseCount()
baseCount in interface AnnotationCountInterfaceCopyright © 2018 Campagne Laboratory. All rights reserved.