升级了dplyr后运行命令inter=inter %>% rename("gene"="V4")
就一直报错:Some 'from' names in value not found on 'x',如下所示:
Error in rename(., gene = "V4") :
Some 'from' names in value not found on 'x': gene
解决方案,把rename
换成dplyr::rename
:
inter=inter %>% dplyr::rename("gene"="V4")