BioArray Module
This module contains the BioArray type and its according functions. The BioArray type is an array of objects using the IBioItem interface
Types
Type | Description |
Functions and values
Function or value | Description |
|
|
|
|
|
|
|
|
|
|
Full Usage:
initSampleBy rnd compositionVector
Parameters:
Random
compositionVector : int[]
Returns: unit -> AminoAcidSymbol
|
|
Full Usage:
isEqual a b
Parameters:
'a[]
b : 'a[]
Returns: int
|
|
Full Usage:
mapInTriplets mapping input
Parameters:
'a * 'a * 'a -> 'a0
input : BioArray<'a>
Returns: 'a0[]
|
|
|
|
Full Usage:
ofAminoAcidStringWithOptionConverter converter s
Parameters:
AminoAcidOptionConverter
s : 'a
Returns: BioArray<AminoAcid>
|
|
|
|
|
|
Full Usage:
ofNucleotideStringWithOptionConverter converter s
Parameters:
NucleotideOptionConverter
s : 'a
Returns: BioArray<Nucleotide>
|
|
|
|
Full Usage:
reverseComplement nucs
Parameters:
BioArray<Nucleotide>
Returns: BioArray<Nucleotide>
|
|
|
|
|
|
|
Creates an array with information about the abundacies of the distinct BioItems by converting the symbol of the BioItem to an integer and incrementing the given integer. To decrease the size of the resulting array by still having a fast performance, all indices are shifted by 65. Therefore to call the abundancy of a given BioItem, use "Resultcompositionvector.[(BioItem.symbol bioitem) - 65]"
|
|
|
Full Usage:
toMonoisotopicMassWith state bs
Parameters:
float
bs : BioArray<'a>
Returns: float
|
|
|
Creates an array with information about the abundacies of the distinct BioItems by converting the symbol of the BioItem to an integer and incrementing the given integer. To decrease the size of the resulting array by still having a fast performance, all indices are shifted by 65. Therefore to call the abundancy of a given BioItem, use "Resultcompositionvector.[(BioItem.symbol bioitem) - 65]"
|
|
|
Full Usage:
transcribeCodingStrand nucs
Parameters:
BioArray<Nucleotide>
Returns: BioArray<Nucleotide>
|
|
Full Usage:
transcribeTemplateStrand nucs
Parameters:
BioArray<Nucleotide>
Returns: BioArray<Nucleotide>
|
|
Full Usage:
translate nucleotideOffset rnaSeq
Parameters:
int
rnaSeq : BioArray<Nucleotide>
Returns: BioArray<AminoAcid>
|
|