As discussed in #174, I've implemented your suggestions. I prefer setDF to as.data.frame as it changes by reference only. It might also be useful to put the conversion in the conditional statement, but I don't think it hurts, since in case someone supplies the identical mapping file for whatever reason, the conversion might avoid errors.
As discussed in #174, I've implemented your suggestions. I prefer
setDF
toas.data.frame
as it changes by reference only. It might also be useful to put the conversion in the conditional statement, but I don't think it hurts, since in case someone supplies the identical mapping file for whatever reason, the conversion might avoid errors.