R/quiet_join.R

Defines functions quiet_join

#' @keywords internal
#'
#' @importFrom magrittr %>%
#' @importFrom dplyr full_join
quiet_join <- function(x, y) {
    list(x, y) %>%
        lapply(colnames) %>%
        Reduce(intersect, x = .) %>%
        full_join(x, y, by = .)
}
waldronlab/HMP16SData documentation built on Nov. 4, 2024, 7:50 a.m.