View source: R/filter_by_name_class.R
filter_by_name | R Documentation |
Filter samples/variables by row/column name, index or logicals.
filter_by_name(mode = "exclude", dimension = "sample", names, ...)
mode |
(character) The filtering mode controls whether samples/features are mode="included" or mode="excluded" based on their name. The default is |
dimension |
(character) The filtering dimensions controls whether dimension="sample" or dimension="variable" are filtered based on their name. The default is |
names |
(character, numeric, logical) The name of features/samples to be filtered. Must be an exact match. Can also provide indexes (numeric) or logical. |
... |
Additional slots and values passed to |
A filter_by_name
object with the following output
slots:
filtered | (DatasetExperiment) |
A filter_by_name
object inherits the following struct
classes:
[filter_by_name]
>> [model]
>> [struct_class]
M = filter_by_name(
mode = "exclude",
dimension = "sample",
names = character(0))
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.