Learn R Programming

baseq (version 0.2.0)

calculate_identity: Sequence Identity

Description

Compares two sequences of equal length.

Usage

calculate_identity(s1, s2)

Value

A list with Identity percentage and Hamming Distance

Arguments

s1

First sequence

s2

Second sequence

Examples

Run this code
calculate_identity("ATGC", "ATGG")

Run the code above in your browser using DataLab