I need to change certain numbers to NA in this reactive dataframe, for example all -1 to NA or all negative numbers, so they don't plot in the historgam
pointsInBounds <- reactive({
  if (is.null(input$map_bounds))
    return(Data[TRUE,])
  bounds <- input$map_bounds
  latRng <- range(bounds$north, bounds$south)
  lngRng <- range(bounds$east, bounds$west)
  subset(Organisms(),
         lat >= latRng[1] & lat <= latRng[2] &
           lon >= lngRng[1] & lon <= lngRng[2])
})
     ##histogram
output$hist <- renderPlot({plot1<-
  # If no organisms are in view, don't plot
  if (nrow(pointsInBounds()) == 0)
    return()
hist(...)