public class Mutation extends Object
Constructor and Description |
---|
Mutation(AminoAcid origin,
AminoAcid target)
Constructs a mutation from one amino acid (origin) to another (target).
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Mutation mutation)
Overwritten equals method.
|
double |
getMassShift()
Returns the mass shift.
|
AminoAcid |
getOrigin()
Returns the origin amino acid.
|
int |
getRoundedMassShift()
Get rounded mass shift.
|
AminoAcid |
getTarget()
Returns the target amino acid.
|
String |
toString() |
public double getMassShift()
public int getRoundedMassShift()
public AminoAcid getOrigin()
public AminoAcid getTarget()
public boolean equals(Mutation mutation)
mutation
- The mutation to be compared.Copyright © 2016. All rights reserved.