Need to expand the accepted inputs to inventory_omim() to include data.frames without omim_tbl class.
Probably easiest to add an initial test to identify input that is a data.frame versus a character vector (i.e. filepath) and then check for omim_tbl class.
For non-omim_tbl data.frames, there should probably be another argument that allows specifying the name of the column with the OMIM xrefs in it. This would avoid the need to change the column's name to omim before running the inventory. _Maybe this should be expanded to tables with omim_tbl class as well, in case the name is changed?_
Need to expand the accepted inputs to inventory_omim() to include data.frames without
omim_tbl
class.Probably easiest to add an initial test to identify input that is a data.frame versus a character vector (i.e. filepath) and then check for
omim_tbl
class.For non-
omim_tbl
data.frames, there should probably be another argument that allows specifying the name of the column with the OMIM xrefs in it. This would avoid the need to change the column's name toomim
before running the inventory. _Maybe this should be expanded to tables withomim_tbl
class as well, in case the name is changed?_