dat_result <- dat_exp %>%
as.data.frame() %>%
tibble::rownames_to_column("ID") %>%
left_join(., dat_GPL4133, by = 'ID') %>%
aggregate(x = ., by = list(.$'GENE_SYMBOL'), FUN = mean) %>%
select(-c('ID','GENE_SYMBOL')) %>%
tibble::column_to_rownames('Group.1').when running this code,such a result has emerged:Error in left_join(): ! Can't join x$ID with y$ID due to incompatible types. ℹ x$ID is a . ℹ y$ID is a .what happened?
dat_result <- dat_exp %>% as.data.frame() %>% tibble::rownames_to_column("ID") %>% left_join(., dat_GPL4133, by = 'ID') %>% aggregate(x = ., by = list(.$'GENE_SYMBOL'), FUN = mean) %>% select(-c('ID','GENE_SYMBOL')) %>% tibble::column_to_rownames('Group.1').when running this code,such a result has emerged:Error in left_join(): ! Can't join x$ID with y$ID due to incompatible types. ℹ x$ID is a. ℹ y$ID is a .what happened?