Global And Local Persistent Homology For The Shape And Classification Of Biological Data