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_tblclass.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_tblclass.For non-
omim_tbldata.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 toomimbefore running the inventory. Maybe this should be expanded to tables withomim_tblclass as well, in case the name is changed?