This is the R script

It comes along with the mapping file, map.txt, and the alpha diversity file, shannon.txt