petteriTeikari/R-PLR

object 'group_name_out' not found

petteriTeikari opened this issue · 0 comments

 Error in pathology.lookup.table(group_name_in) : 
  object 'group_name_out' not found 

Not all possible Diganosis codes are not now defined in pathology.lookup.table() function

if (identical(group_name_in,'POAG') |
      identical(group_name_in,'NTG') |
      identical(group_name_in,'DISC SUSPECT')) {
    
    group_name_out = 'Glaucoma'

In other words, if you had PACG in your Excel data sheet, in the above example, the script now does not know what "Master label" does it have