Added P value filter and plot  generalisation