highlight_key_sequence.RdHighlight key sequence
highlight_key_sequence(data, key_sequence, sequence_names = NULL, new_color = "lightblue", keep_color = "lightgrey", remove_color = NULL)
| data | data with key coordinates, e.g. from keys_chords |
|---|---|
| key_sequence | list of vector with key numbers, note that they can be greater than 12 |
| sequence_names | names of each element in |
| new_color | highlight color for new keys ( |
| keep_color | highlight color for keys kept at same position ( |
| remove_color | highlight color for removed keys ( |
A new dataset with two new columns: seq_no, that can be used in e.g. plotting,
and seq_name that is either seq_no of sequence_names if provided.