contextFold.scoring
Class PredictionQuality

java.lang.Object
  extended by contextFold.scoring.PredictionQuality
All Implemented Interfaces:
java.lang.Comparable<PredictionQuality>

public class PredictionQuality
extends java.lang.Object
implements java.lang.Comparable<PredictionQuality>


Constructor Summary
PredictionQuality(int[] guessFold, int[] goldFold)
           
PredictionQuality(int[] guessFold, int[] goldFold, float beta)
           
 
Method Summary
 int compareTo(PredictionQuality other)
           
 float fMeasure()
           
 int getGoldBasepairNum()
           
 int getGuessBasepairNum()
           
 int getSeqLength()
           
 int getTruePositiveNum()
           
static void main(java.lang.String[] args)
           
 float PPV()
           
static void predictionStatistics(java.util.List<RNA> rnas, int binSize)
           
static void predictionStatistics(java.util.List<RNA> rnas, int binSize, boolean verbose)
           
static void predictionStatistics(java.lang.String predictionFilePath)
           
static void predictionStatistics(java.lang.String predictionFilePath, int binSize)
           
static void predictionStatistics(java.lang.String predictionFilePath, int binSize, boolean verbose)
           
 float sensitivity()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PredictionQuality

public PredictionQuality(int[] guessFold,
                         int[] goldFold)

PredictionQuality

public PredictionQuality(int[] guessFold,
                         int[] goldFold,
                         float beta)
Method Detail

getSeqLength

public int getSeqLength()

getGoldBasepairNum

public int getGoldBasepairNum()

getGuessBasepairNum

public int getGuessBasepairNum()

getTruePositiveNum

public int getTruePositiveNum()

sensitivity

public float sensitivity()

PPV

public float PPV()

fMeasure

public float fMeasure()

compareTo

public int compareTo(PredictionQuality other)
Specified by:
compareTo in interface java.lang.Comparable<PredictionQuality>

predictionStatistics

public static void predictionStatistics(java.lang.String predictionFilePath)
                                 throws java.io.IOException
Throws:
java.io.IOException

predictionStatistics

public static void predictionStatistics(java.lang.String predictionFilePath,
                                        int binSize)
                                 throws java.io.IOException
Throws:
java.io.IOException

predictionStatistics

public static void predictionStatistics(java.lang.String predictionFilePath,
                                        int binSize,
                                        boolean verbose)
                                 throws java.io.IOException
Throws:
java.io.IOException

predictionStatistics

public static void predictionStatistics(java.util.List<RNA> rnas,
                                        int binSize)
                                 throws java.io.IOException
Throws:
java.io.IOException

predictionStatistics

public static void predictionStatistics(java.util.List<RNA> rnas,
                                        int binSize,
                                        boolean verbose)
                                 throws java.io.IOException
Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException