SydneyBioX / spicyR

https://sydneybiox.github.io/spicyR/
8 stars 4 forks source link

Check if subject is identical to imageID #47

Closed ellispatrick closed 1 month ago

ellispatrick commented 1 month ago

If subject is identical to imageID and is included as a parameter the code breaks without an informative error. I think we should check for this and print a message along the lines of "There is a one-to-one mapping between subject and imageID, fitting a linear model".