public class TreeScoring
extends java.lang.Object
This class contains several tools to compute gene to gene scores in an annotated phylogenetic tree.
Modifier and Type | Field and Description |
---|---|
double[][] |
distance
Distance between two genes
|
boolean[][] |
fitchOrthology
Strict orthology relationship
|
static double |
iDupWeight |
static double |
lengthThreshold |
static double |
lengthWeight |
int[][] |
nbIntersectionDuplications
Number of taxonomic intersection duplications between two genes
|
int[][] |
nbSpeciations
Number of spectiations between two genes
|
int[][] |
nbTopologicalDuplications
Number of topological incongruence duplications between two genes
|
int[][] |
nbUltraParalogy
Number of ultraparalogy relationship under this node
|
java.lang.StringBuffer |
phyloXMLBuffer
PhyloXML relationship buffer
|
static double |
specWeight |
static double |
tDupWeight
Global scoring attributs
|
Tree |
tree
The reference tree
|
boolean[][] |
ultraParalogy
Ultraparalogy relationship
|
static double |
uParaWeight |
Constructor and Description |
---|
TreeScoring(Tree tree)
Generic constructor
|
Modifier and Type | Method and Description |
---|---|
void |
computeScores()
Compute scores for every pair of genes, and stock it
|
void |
writeScores(java.io.File file)
Write in a CSV file every scores
|
public Tree tree
public double[][] distance
public int[][] nbTopologicalDuplications
public int[][] nbIntersectionDuplications
public int[][] nbSpeciations
public boolean[][] fitchOrthology
public boolean[][] ultraParalogy
public int[][] nbUltraParalogy
public java.lang.StringBuffer phyloXMLBuffer
public static double tDupWeight
public static double iDupWeight
public static double specWeight
public static double uParaWeight
public static double lengthWeight
public static double lengthThreshold
public TreeScoring(Tree tree)
tree
- The tree to score