I have some data (AllPCA
) that is divided by site. I have used qplot (PC1, PC2, data=AllPCA, colour=Population, facets=~Population) + scale_colour_manual (values=cbbPalette)
to facet a scatterplot of two variables by site.
Example AllPCA:
ID PC1 PC2 Population
Syd1 0.0185 0.0426 Sydney
Was1 0.0167 0.0415 Washington
Rea1 0.0182 0.0431 Reading
Aar1 0.0183 0.0427 Aarhus
This works fine, but only gives the data from each site in each of the windows.
I would like to create the same plot, but keeping the rest of the data in each facetted plot, just greyed out. Can you help?