fetch.samples: Fetch samples from a phyloarray database

Description Usage Arguments Value Author(s) References Examples

Description

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')".

Usage

1

Arguments

con

MySQL connection

condition

list of lists with field-value pairs

Value

A dataframe with the selected records from the samples table

Author(s)

Douwe Molenaar. Maintainer: Leo Lahti microbiome-admin@googlegroups.com

References

See citation("microbiome")

Examples

1
# TBA

microbiome/HITChipDB documentation built on June 7, 2020, 8:25 a.m.