# Load example data
data(ExampleDb, package="alakazam")
# Use first entry in the exampled data for input and germline sequence
in_seq <- ExampleDb[["sequence_alignment"]][1]
germ_seq <- ExampleDb[["germline_alignment_d_mask"]][1]
# Identify all mutations in the sequence
calcExpectedMutations(germ_seq,in_seq)
# Identify only mutations the V segment minus CDR3
calcExpectedMutations(germ_seq, in_seq, regionDefinition=IMGT_V)
# Define mutations based on hydropathy
calcExpectedMutations(germ_seq, in_seq, regionDefinition=IMGT_V,
mutationDefinition=HYDROPATHY_MUTATIONS)
Run the code above in your browser using DataLab