clean_pkg | R Documentation |
The primary problem this function seeks to solve is derived from the fact that some species names in the eupathdb contain characters which are not allowed in orgdb/txdb/organismdbi instances. Thus this invokes a couple of regular expressions in an attempt to make sure these generated packages are actually installable.
clean_pkg(path, removal = "-like", replace = "", sqlite = TRUE)
path |
Location for the original Db/Dbi instance. |
removal |
String to remove from the instance. |
replace |
What to replace removal with, when necessary. |
sqlite |
Also modify the sqlite database? |
One thing I should consider is to add some of this logic to my eupath queries rather than perform these clunky modifications to the already-generated packages.
A hopefully cleaner OrgDb/TxDb/OrganismDbi sqlite package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.