Function getNucleotidePatternSymbolComplement

  • Get the complement of the given nucleotide pattern symbol

    Parameters

    Returns NucleotidePatternSymbol

    The complement of the given nucleotide pattern symbol

    Example

     const symbol = new NucleotidePatternSymbol('R');
    //pass a valid nucleotide pattern symbol'R' and get it's complement symbol
    getNucleotidePatternSymbolComplement(symbol); //returns the nucleotide pattern symbol 'Y'