View source: R/getAttributes.R
Allows users to filter and retrieve data from a particular mart.
1 | getAttributes(database, mart, filters, value, cond)
|
database |
RSQLite object imported previously to R |
mart |
Dataset name, written inside "" |
filters |
A character vector with restrictions of the query |
value |
A character vector with the corresponding restriction values |
cond |
Conditional when more than one filter is used. Can be "and", "or","not" #' @examples regulon <- importDB("~/Documents/regulondb_sqlite3.db") getAttr( database = regulon, mart = "GENE", filters = c("strand", "celullar_location"), value = c("forward","cytosol" ), cond = "and") |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.