Description Usage Arguments Value Author(s) References Examples
The function fetches complete records from the samples
table. If condition=NULL
it will fetch all records and if
condition
is defined it will fetch only those records that
comply with the condition. Condition must be a list of lists, each
having at least the fields field and value. The
field field must be a character vector of length 1 and
value must be a vector. Each of the values will be evaluated
as a optional value for the field field. This is an example:
"list(list(field='projectName',value=c(A,B)))
" that will be
evaluated to the SQL condition "WHERE (projectName='A' OR
projectName='B')
".
1 | fetch.samples(con, condition = NULL)
|
con |
MySQL connection |
condition |
list of lists with field-value pairs |
A dataframe with the selected records from the samples table
Douwe Molenaar. Maintainer: Leo Lahti microbiome-admin@googlegroups.com
See citation("microbiome")
1 | # TBA
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.