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 Oct. 26, 2023, 5:42 a.m.