powered by
Calculate differences between characters in columns of germs and return them as a string vector.
allele_diff_strings(germs, X = 0L, non_mismatch_chars_nullable = NULL)
A vector of strings containing differences between characters in columns.
A vector of strings representing germ sequences.
The threshold index from which to return differences as strings.
A set of characters that are ignored when comparing sequences (default: 'N', '.', '-').
germs = c("ATCG", "ATCC") X = 3 result = allele_diff_strings(germs, X) # "A2T", "T3C", "C2G"
Run the code above in your browser using DataLab