SequenceStatisticsGetFraction Method (Char) |
Gets the fraction of occurrences of a specific symbol. This method does not perform
any calculations to group counts of ambiguous symbols with corresponding unambiguous
symbols. So the minimum G-C content of a DNA sequence would be calculated as
GetFraction('G') + GetFraction('C') + GetFraction('S')
Namespace: BioAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public double GetFraction(
char symbol
)
Public Function GetFraction (
symbol As Char
) As Double
public:
double GetFraction(
wchar_t symbol
)
member GetFraction :
symbol : char -> float
Parameters
- symbol
- Type: SystemChar
The char representation of a symbol.
Return Value
Type:
DoubleThe fraction of occurrences of the given symbol.
See Also