Fetch the value of a substitution from the matrix, given the row and column symbols.

Namespace:  BioSharp.Core.Bio.Alignment
Assembly:  BioSharp.Core (in BioSharp.Core.dll) Version: 0.1.3191.26120 (0.1.0.0)

Syntax

C#
public int GetValueAt(
	ISymbol row,
	ISymbol col
)

Parameters

row
Type: BioSharp.Core.Bio.Symbol..::.ISymbol
Symbol of the line
col
Type: BioSharp.Core.Bio.Symbol..::.ISymbol
Symbol of the column

Return Value

expenses for the exchange of symbol row and symbol col.

Remarks

There are some substitution matrices containing more columns than lines. This has to do with the ambigious symbols. Lines are always good, columns might not contain the whole information. The matrix is supposed to be symmetric anyway, so you can always set the ambigious symbol to be the first argument.

See Also