Click or drag to resize
SimilarityMatrix Class
Representation of a matrix that contains similarity scores for every pair of symbols in an alphabet. BLOSUM and PAM are well-known examples.
Inheritance Hierarchy

Namespace: Bio.SimilarityMatrices
Assembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax
public class SimilarityMatrix

The SimilarityMatrix type exposes the following members.

Constructors
  NameDescription
Protected methodSimilarityMatrix
Initializes a new instance of the SimilarityMatrix class.
Public methodSimilarityMatrix(TextReader)
Initializes a new instance of the SimilarityMatrix class. Constructs SimilarityMatrix from an input stream.
Public methodSimilarityMatrix(SimilarityMatrixStandardSimilarityMatrix)
Initializes a new instance of the SimilarityMatrix class Constructs one of the standard similarity matrices.
Top
Properties
  NameDescription
Public propertyItem
Returns value of matrix at [row, col].
Public propertyMatrix
Gets or sets similarity matrix values in a 2-D integer array.
Public propertyName
Gets or sets descriptive name of the particular SimilarityMatrix being used.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidateSequence
Confirms that there is a symbol in the similarity matrix for every symbol in the sequence.
Top
Fields
  NameDescription
Protected fieldsupportedAlphabets
Top
See Also