Array analysis with R and Shiny