filter_mdb_matrix.chMDB | R Documentation |
Filter a matrix stored in an MDB
## S3 method for class 'chMDB' filter_mdb_matrix(x, tableName, ...) ## S3 method for class 'fileMDB' filter_mdb_matrix(x, tableName, .by = 10^5, ...) filter_mdb_matrix(x, tableName, ...) ## S3 method for class 'memoMDB' filter_mdb_matrix(x, tableName, ...) ## S3 method for class 'metaMDB' filter_mdb_matrix(x, tableName, ...)
x |
an MDB object |
tableName |
a character vector of length 1 corresponding to the name of the table to filter (must be a matrix) |
... |
character vectors with the row names and/or columns names to select. The names of the parameters must correspond to the name of the column and of the row fields (the matrix cannot be filtered from values). |
.by |
the size of the batch: number of lines to process together (default: 10000) |
A sub-matrix of tableName in x. Only existing elements are returned. No error is raised if any element is missing. The result must be checked and adapted to user needs.
## Not run: ## Return the matrix of expression values focused on the selected genes filter_mdb_matrix(x=db, "Expression_value", gene=c("SNCA", "MAPT")) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.