merging in getXplots and getSNPplots