Translate Words or Sentences via Online Translators

Useful functions to translate text for multiple languages using online translators. For example, by translating error messages and descriptive analysis results into a language familiar to the user, it enables a better understanding of the information, thereby reducing the barriers caused by language. It offers several helper functions to query gene information to help interpretation of interested genes (e.g., marker genes, differential expression genes), and provides utilities to translate 'ggplot' graphics. This package is not affiliated with any of the online translators. The developers do not take responsibility for the invoice it incurs when using this package, especially for exceeding the free quota.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("fanyi")

0.1.1 by Guangchuang Yu, 8 months ago


https://github.com/YuLab-SMU/fanyi, https://www.biorxiv.org/content/10.1101/2023.12.21.572729


Report a bug at https://github.com/YuLab-SMU/fanyi/issues


Browse source code at https://github.com/cran/fanyi


Authors: Guangchuang Yu [aut, cre, cph] (ORCID: , Guannan Chen [ctb] , Difei Wang [ctb]


Documentation:   PDF Manual  


Artistic-2.0 license


Imports digest, ggfun, httr2, jsonlite, openssl, purrr, rentrez, rlang, SSEparser, utils, uuid, yulab.utils


Suggested by ivolcano.


See at CRAN