Description Usage Arguments Value Examples
View source: R/filter_by_name_class.R
A filter to subsample a DatasetExperiment object based on sample or feature name, id, row/column index or using a vector of TRUE/FALSE.
1 | filter_by_name(mode = "exclude", dimension = "sample", names, ...)
|
mode |
"include" or ["exclude"] to subsample a DatasetExperiment by including or excluding samples/features based on the provided labels |
dimension |
["sample"] or "variable" to filter by sample or feature labels |
names |
the sample/feature identifiers to filter by. Can provide column names, column indices or logical. |
... |
additional slots and values passed to struct_class |
struct object
1 2 3 | D = MTBLS79_DatasetExperiment()
M = filter_by_name(mode='exclude',dimension='variable',names=c(1,2,3))
M = model_apply(M,D)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.