petteriTeikari / R-PLR

Once separate repos combined to one making it easier in the end
1 stars 0 forks source link

object 'group_name_out' not found #6

Open petteriTeikari opened 5 years ago

petteriTeikari commented 5 years ago
 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