1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| sf::read_sf("./data/sanqimetagenome/data/530000_云南省_full.json") %>% dplyr::mutate(name = "") %>% ggplot() + geom_sf(aes(geometry = geometry), show.legend = FALSE) + geom_sf_text(aes(label = name), size = 2) + geom_point(data = df.sample.num, aes(x = longitude, y = latitude, size = n), color = "#1380A1") + labs(x = "Longitude", y = "Latitude") + pac4xiang::mytheme() + theme(legend.position = c(0.1,0.15), legend.title = element_blank())-> p.map
ggsave(p.map, file = "./data/sanqimetagenome/results/Figure 1/samples.map.png", width = 6, height = 6, dpi = 500)
|