createJOINQuery {maDB} | R Documentation |
This function creates SQL query strings that allow to join all available tables from the maDB
database.
createJOINQuery(join, with, select = "*", r = TRUE)
join |
One of the two database tables that should be joined. |
with |
The database table with which the first one should be joined. |
select |
The attributes (column names) of the tables that should be returned. By default every column will be returned. |
r |
Attribute for joining the comparisons table with any other table. If r=TRUE the entries of the comparisons table will be joined with the other table using the information for the red signal channel, if r=FALSE the informtion for the green signal channel will be used. |
Basically this function should ease the usage for the maDB
database. The list of tables that can be joined are: comparisons, signal\_channels, arrays, samples and experiments
.
A string that can be used in the dbSendQuery
(package RdbiPgSQL) function to retrieve the data.
Johannes Rainer
## ## join the comparison table with the samples table createJOINQuery(join="comparisons",with="samples")