Skip to contents

Create a default substitution matrix from all unique elements of s1 and s2

Usage

defaultSmatrix(s1, s2)

Arguments

s1

Sequence 1, typically a HemOnc regimen

s2

Sequence 2, typically an encoded set of drug occurrences for a patient

Value

s - A dataframe object filled with a score of -1.1 in all non-diagonal cells and a score of 1 on the diagonal. s <- defaultSmatrix(s1, s2)