Left join datasets
tbls to join. (See dplyr)
tbls to join. (See dplyr)
A character vector of variables to join by. (See dplyr)
If x and y are not from the same data source, and copy is TRUE, then y will be copied into the same src as x. (See dplyr)
If there are non-joined duplicate variables in x and y, these suffixes will be added to the output to disambiguate them. Should be a character vector of length 2. (See dplyr)
Data frames to combine (See dplyr)
A tt object
`%>%` = magrittr::`%>%`
annotation = tidybulk::counts_SE %>% tidybulk() %>% as_tibble() %>% distinct(.sample) %>% mutate(source = "AU")
tidybulk::counts_SE %>% tidybulk() %>% as_tibble() %>% left_join(annotation)
#> Joining with `by = join_by(.sample)`
#> # A tibble: 408,624 × 9
#> .feature .sample count Cell.type time condition batch factor_of_…¹ source
#> <chr> <chr> <dbl> <fct> <fct> <lgl> <fct> <lgl> <chr>
#> 1 A1BG SRR1740034 153 b_cell 0 d TRUE 0 TRUE AU
#> 2 A1BG-AS1 SRR1740034 83 b_cell 0 d TRUE 0 TRUE AU
#> 3 AAAS SRR1740034 868 b_cell 0 d TRUE 0 TRUE AU
#> 4 AACS SRR1740034 222 b_cell 0 d TRUE 0 TRUE AU
#> 5 AAGAB SRR1740034 590 b_cell 0 d TRUE 0 TRUE AU
#> 6 AAMDC SRR1740034 48 b_cell 0 d TRUE 0 TRUE AU
#> 7 AAMP SRR1740034 1257 b_cell 0 d TRUE 0 TRUE AU
#> 8 AANAT SRR1740034 284 b_cell 0 d TRUE 0 TRUE AU
#> 9 AAR2 SRR1740034 379 b_cell 0 d TRUE 0 TRUE AU
#> 10 AARS2 SRR1740034 685 b_cell 0 d TRUE 0 TRUE AU
#> # … with 408,614 more rows, and abbreviated variable name ¹factor_of_interest