add name parameter to return name of nearest protein
change param data to obj in .minDistPlotDist