public class SequenceRelation extends Object implements PhylogenyData
| Modifier and Type | Class and Description |
|---|---|
static class |
SequenceRelation.SEQUENCE_RELATION_TYPE |
| Modifier and Type | Field and Description |
|---|---|
static String |
SEQUENCE_RELATION_TYPE_ONE_TO_ONE_ORTHOLOGY |
static String |
SEQUENCE_RELATION_TYPE_ORTHOLOGY |
static String |
SEQUENCE_RELATION_TYPE_OTHER |
static String |
SEQUENCE_RELATION_TYPE_PARALOGY |
static String |
SEQUENCE_RELATION_TYPE_SUPER_ORTHOLOGY |
static String |
SEQUENCE_RELATION_TYPE_ULTRA_PARALOGY |
static String |
SEQUENCE_RELATION_TYPE_UNKNOWN |
static String |
SEQUENCE_RELATION_TYPE_XENOLOGY |
static Map<SequenceRelation.SEQUENCE_RELATION_TYPE,String> |
typesToNames |
| Constructor and Description |
|---|
SequenceRelation() |
| Modifier and Type | Method and Description |
|---|---|
StringBuffer |
asSimpleText() |
StringBuffer |
asText() |
PhylogenyData |
copy()
Creates a new PhylogenyData object with identical values as this
PhylogenyData.
|
Confidence |
getConfidence() |
Double |
getDistance() |
static String |
getPrintableNameByType(SequenceRelation.SEQUENCE_RELATION_TYPE type) |
Sequence |
getRef0() |
Sequence |
getRef1() |
SequenceRelation.SEQUENCE_RELATION_TYPE |
getType() |
boolean |
isEqual(PhylogenyData data)
Compares this PhylogenyData to PhylogenyData data.
|
void |
setConfidence(Confidence confidence) |
void |
setDistance(Double distance) |
void |
setRef0(Sequence ref0) |
void |
setRef1(Sequence ref1) |
void |
setType(SequenceRelation.SEQUENCE_RELATION_TYPE type) |
StringBuffer |
toNHX() |
void |
toPhyloXML(Writer writer,
int level,
String indentation)
Writes a phyloXML representation of this phylogeny data.
|
public static final Map<SequenceRelation.SEQUENCE_RELATION_TYPE,String> typesToNames
public static final String SEQUENCE_RELATION_TYPE_ORTHOLOGY
public static final String SEQUENCE_RELATION_TYPE_ONE_TO_ONE_ORTHOLOGY
public static final String SEQUENCE_RELATION_TYPE_SUPER_ORTHOLOGY
public static final String SEQUENCE_RELATION_TYPE_PARALOGY
public static final String SEQUENCE_RELATION_TYPE_ULTRA_PARALOGY
public static final String SEQUENCE_RELATION_TYPE_XENOLOGY
public static final String SEQUENCE_RELATION_TYPE_UNKNOWN
public static final String SEQUENCE_RELATION_TYPE_OTHER
public StringBuffer asSimpleText()
asSimpleText in interface PhylogenyDatapublic StringBuffer asText()
asText in interface PhylogenyDatapublic PhylogenyData copy()
PhylogenyDatacopy in interface PhylogenyDatapublic Confidence getConfidence()
public Double getDistance()
public Sequence getRef0()
public Sequence getRef1()
public SequenceRelation.SEQUENCE_RELATION_TYPE getType()
public boolean isEqual(PhylogenyData data)
PhylogenyDataisEqual in interface PhylogenyDatapublic void setConfidence(Confidence confidence)
public void setDistance(Double distance)
public void setRef0(Sequence ref0)
public void setRef1(Sequence ref1)
public void setType(SequenceRelation.SEQUENCE_RELATION_TYPE type)
public StringBuffer toNHX()
toNHX in interface PhylogenyDatapublic void toPhyloXML(Writer writer, int level, String indentation) throws IOException
PhylogenyDatatoPhyloXML in interface PhylogenyDataIOExceptionpublic static String getPrintableNameByType(SequenceRelation.SEQUENCE_RELATION_TYPE type)
Copyright © 2016. All rights reserved.