Comrades,
I seem to have cornered myself into a situation where I'm finding it
very difficult to put together a reproducible example.
I'm trying to inner_join two tables but inner_join_impl thinks
something (the join column(?)) is a 'list' instead of a "CHARSXP"
The issue is that there are no list columns in any of the two tables
I'm trying to inner_join.
Here is the code that is throwing an error:
R> xx =
tx.info %>% inner_join(
tchrom.info,
by=c("feature_id"="ensembl_transcript_id"))
And the error:
Error in inner_join_impl(x, y, by$x, by$y, suffix$x, suffix$y,
check_na_matches(na_matches)) :
Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'list'
And some context for the two objects I'm trying to join
R> head(
tx.info)
# A tibble: 6 x 3
feature_type feature_id name
<chr> <chr> <chr>
1 enstid ENSMUST00000070533 Xkr4_1
2 enstid ENSMUST00000208660 Rp1_1
3 enstid ENSMUST00000194992 Rp1_2
4 enstid ENSMUST00000027032 Rp1_3
5 enstid ENSMUST00000027035 Sox17_1
6 enstid ENSMUST00000195555 Sox17_2
R> head(
tchrom.info)
head(
tchrom.info)
# A tibble: 6 x 5
ensembl_transcript_id chromosome_name start_position end_position strand
<chr> <chr> <int> <int> <int>
1 ENSMUST00000000001 3 108107280 108146146 -1
2 ENSMUST00000000003 X 77837901 77853623 -1
3 ENSMUST00000000010 11 96271457 96276595 1
4 ENSMUST00000000028 16 18780447 18811987 -1
5 ENSMUST00000000033 7 142650766 142666816 -1
6 ENSMUST00000000049 11 108343354 108414396 1
And sapply(
tx.info, is.list) and sapply(
tchrom.info, is.list) confirms
that there are no list columns in sight ...
I'm running:
R version 3.4.0 (2017-04-21)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Red Hat Enterprise Linux Server release 6.6 (Santiago)
And tidyverse::tidyverse_update() confirms that "All tidyverse
packages up-to-date"
Has anybody seen this before?
Thanks,
-steve
--
Steve Lianoglou
Computational Biologist
Cancer Immunology
Genentech