R/ext_gggrid.R

Defines functions anno_text

anno_text <- function(label, x = 0.1, y = 0.9) {
    panel <- function(data, coords) {
        textGrob(label, x, y,
            just = c(0, 1),
            gp = gpar(fontfamily = "Times")
        )
    }
    grid_panel(panel)
}
kongdd/PhenoAsync documentation built on April 21, 2024, 2:36 a.m.