Package org.biojava.bio.molbio
Class DNAComposition
- java.lang.Object
-
- org.biojava.bio.molbio.Composition
-
- org.biojava.bio.molbio.DNAComposition
-
public class DNAComposition extends Composition
Computes composition statistics about a DNASymbolList.- Since:
- 1.6
- Author:
- Mark Schreiber
-
-
Constructor Summary
Constructors Constructor Description DNAComposition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetA()Get the relative compositon of 'A'.doublegetC()Get the relative compositon of 'C'.doublegetG()Get the relative compositon of 'G'.doublegetT()Get the relative compositon of 'T'.-
Methods inherited from class org.biojava.bio.molbio.Composition
getDistribution, setSymbolList
-
-
-
-
Constructor Detail
-
DNAComposition
public DNAComposition()
-
-
Method Detail
-
getA
public double getA()
Get the relative compositon of 'A'.- Returns:
- between 0.0 and 1.0
-
getC
public double getC()
Get the relative compositon of 'C'.- Returns:
- between 0.0 and 1.0
-
getG
public double getG()
Get the relative compositon of 'G'.- Returns:
- between 0.0 and 1.0
-
getT
public double getT()
Get the relative compositon of 'T'.- Returns:
- between 0.0 and 1.0
-
-