library(magrittr)
library(pichor)

Chord types:

Any of these can be dealt with, e.g. getting keys for root form, an inversion and both plotted:

keys_chords %>% 
  highlight_chord(Cmaj7, inversion = 1L) %>% 
  ggpiano()

keys_chords %>% 
  highlight_chord(Cmaj7, inversion = 2L) %>% 
  ggpiano()