Description Usage Arguments Details Value Author(s) See Also Examples
The listEnsDbs
function lists EnsDb databases in a
MySQL server.
1 | listEnsDbs(dbcon, host, port, user, pass)
|
dbcon |
A |
host |
Character specifying the host on which the MySQL server is running. |
port |
The port of the MySQL server (usually |
user |
The username for the MySQL server. |
pass |
The password for the MySQL server. |
The use of this function requires that the RMySQL
package
is installed and that the user has either access to a MySQL server with
already installed EnsDb databases, or write access to a MySQL server in
which case EnsDb databases could be added with the useMySQL
method. EnsDb databases follow the same naming conventions than the EnsDb
packages, with the exception that the name is all lower case and that
"."
is replaced by "_"
.
A data.frame
listing the database names, organism name
and Ensembl version of the EnsDb databases found on the server.
Johannes Rainer
1 2 3 4 5 6 | ## Not run:
library(RMySQL)
dbcon <- dbConnect(MySQL(), host = "localhost", user = my_user, pass = my_pass)
listEnsDbs(dbcon)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.