SequenceStatisticsGetFraction Method (Byte) |
Gets the fraction of occurrences of a specific sequence char. 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(
byte item
)
Public Function GetFraction (
item As Byte
) As Double
public:
double GetFraction(
unsigned char item
)
member GetFraction :
item : byte -> float
Parameters
- item
- Type: SystemByte
A sequence char.
Return Value
Type:
DoubleThe fraction of occurrences of the given sequence char.
See Also